Skip to content

Commit 12bc59b

Browse files
fix: retrieving compiler options
1 parent 1036146 commit 12bc59b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compileTypes/helpers/getTSConfigCompilerOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function getTSConfigCompilerOptions(
3232
return parsedConfig.options;
3333
}
3434

35-
const { allowJs, ...compilerOptions } = require(tsconfigPath);
35+
const { allowJs, ...compilerOptions } = require(tsconfigPath).compilerOptions;
3636

3737
return compilerOptions;
3838
}

0 commit comments

Comments
 (0)