Optional ReadonlycompilerTypeScript compiler options to apply.
Override the options from tsconfig.
Optional ReadonlyentriesModule entries.
A map of entry name declarations. Each key is an original name of module entry as it present in non-flattened
.d.ts file, which is typically a relative path to original typescript file without .ts extension.
Optional ReadonlyexternalExternal module names.
An array of external module names and their glob patterns. These names won't be changed during flattening process.
This is useful for external module augmentation.
Optional ReadonlyfileOutput .d.ts file name relative to output directory.
Optional ReadonlyinternalInternal module names.
An array of internal module names and their glob patterns. Internal module type definitions are excluded from
generated .d.ts files.
Optional ReadonlylibWhether to add triple-slash directives to refer the libraries used.
Allowed values:
true to add an entry for each referred library from lib compiler option,false (the default) to not add any library references,Optional ReadonlymoduleThe module name to replace flattened module declarations with.
Optional ReadonlyrefsWhether to add file references.
A file reference is added when one entry refers another one.
Optional ReadonlytsconfigEither tsconfig.json file location relative to working directory, or parsed tsconfig.json contents.
Type definitions flattening options.
Contains options for
rollup-plugin-flat-dtsplugin.Accepted by emitFlatDts function.