• Emits flat type definitions.

    Does not actually writes to .d.ts files.

    Parameters

    • dtsOptions: Options = {}

      Flattening options.

    Returns Promise<FlatDts>

    A promise resolved to flattened type definitions representation.