Skip to content

Commit

Permalink
fix transform tsconfigRaw type (#2568)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Sep 23, 2022
1 parent efd0af6 commit 1bce251
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/shared/types.ts
Expand Up @@ -252,11 +252,15 @@ export interface ServeResult {
export interface TransformOptions extends CommonOptions {
tsconfigRaw?: string | {
compilerOptions?: {
alwaysStrict?: boolean,
importsNotUsedAsValues?: 'remove' | 'preserve' | 'error',
jsx?: 'react' | 'react-jsx' | 'react-jsxdev' | 'preserve',
jsxFactory?: string,
jsxFragmentFactory?: string,
useDefineForClassFields?: boolean,
importsNotUsedAsValues?: 'remove' | 'preserve' | 'error',
jsxImportSource?: string,
preserveValueImports?: boolean,
target?: string,
useDefineForClassFields?: boolean,
},
};

Expand Down

0 comments on commit 1bce251

Please sign in to comment.