Skip to content

Commit

Permalink
chore: allow prettier to run on src/types
Browse files Browse the repository at this point in the history
  • Loading branch information
Floffah committed Oct 12, 2024
1 parent fc10e33 commit 8791efa
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 26 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ priv
node_modules
dist
types
!src/types
assets
data
.storybook
Expand Down
52 changes: 26 additions & 26 deletions src/types/options.ts
Original file line number Diff line number Diff line change
@@ -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;
}
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;
}

0 comments on commit 8791efa

Please sign in to comment.