fix(core): update

This commit is contained in:
2022-03-11 17:26:50 +01:00
parent e1803dabfa
commit 3fc3421857
3 changed files with 497 additions and 272 deletions

View File

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