From c62619bd272c1a39147c14a1d5776de2a35a34cb Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Thu, 24 Mar 2022 18:47:16 +0100 Subject: [PATCH] fix(core): update --- ts/loader.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/loader.ts b/ts/loader.ts index b140a1e..0c457b4 100644 --- a/ts/loader.ts +++ b/ts/loader.ts @@ -4,8 +4,9 @@ import type { CompilerOptions } from 'typescript'; const defaultTsNodeOptions: plugins.tsNode.CreateOptions = { compilerOptions: { lib: ['dom'], - target: 'es2020', // Script Target should be a string -> 2 is for ES2015 + target: 'es2022', // Script Target should be a string -> 2 is for ES2015 experimentalDecorators: true, + useDefineForClassFields: false, esModuleInterop: true, strictNullChecks: false, moduleResolution: 'node12',