fix(core): update

This commit is contained in:
2021-10-06 13:06:24 +02:00
parent 76dd9707fe
commit 282d8b2b93
4 changed files with 236 additions and 129 deletions

View File

@@ -5,10 +5,12 @@ import { CompilerOptions } from 'typescript';
const defaultTsNodeOptions: tsNode.CreateOptions = {
compilerOptions: {
lib: ['es2016', 'es2017', 'dom'],
target: <any>'es2017', // Script Target should be a string -> 2 is for ES2015
target: <any>'es2020', // Script Target should be a string -> 2 is for ES2015
experimentalDecorators: true,
esModuleInterop: true,
strictNullChecks: false,
moduleResolution: <any>'node',
importsNotUsedAsValues: <any>'preserve',
} as CompilerOptions,
skipIgnore: true,
};