diff --git a/.prettierignore b/.prettierignore index 6d8273d..73d3e1f 100644 --- a/.prettierignore +++ b/.prettierignore @@ -6,6 +6,7 @@ priv node_modules dist types +!src/types assets data .storybook diff --git a/src/types/options.ts b/src/types/options.ts index fcb553d..a21f963 100644 --- a/src/types/options.ts +++ b/src/types/options.ts @@ -1,26 +1,26 @@ -import {TsConfigJson} from "type-fest"; - -export interface DTSPluginOpts { - /** - * override the directory to output to. - * @deprecated define declarationDir in tsconfig instead - */ - outDir?: string; - /** - * path to the tsconfig to use. (some monorepos might need to use this) - */ - tsconfig?: string | TsConfigJson; - /** - * Directory to store build info files in (only if using incremental builds and no tsBuildInfoFile is defined in tsconfig) - * @default os tmp directory - */ - buildInfoDir?: string; - /** - * EXPERIMENTAL: Set to true to bundle the declarations into single files - */ - experimentalBundling?: boolean; - /** - * For testing purposes, allows adding a context to different builds with the same tsconfig. - */ - __buildContext?: any; -} \ No newline at end of file +import { TsConfigJson } from "type-fest"; + +export interface DTSPluginOpts { + /** + * override the directory to output to. + * @deprecated define declarationDir in tsconfig instead + */ + outDir?: string; + /** + * path to the tsconfig to use. (some monorepos might need to use this) + */ + tsconfig?: string | TsConfigJson; + /** + * Directory to store build info files in (only if using incremental builds and no tsBuildInfoFile is defined in tsconfig) + * @default os tmp directory + */ + buildInfoDir?: string; + /** + * EXPERIMENTAL: Set to true to bundle the declarations into single files + */ + experimentalBundling?: boolean; + /** + * For testing purposes, allows adding a context to different builds with the same tsconfig. + */ + __buildContext?: any; +}