fix(tracker): update target module in tsconfig, add moduleInterop for test runner

This commit is contained in:
nick-delirium 2024-01-09 14:16:19 +01:00
parent c2ce67b893
commit e7bdad24f1
2 changed files with 5 additions and 3 deletions

View file

@ -2,7 +2,8 @@
"extends": "../../tsconfig-base.json",
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"lib": ["es6", "dom"]
"lib": ["es2017", "dom"],
"declaration": true
},
"references": [{ "path": "../common" }]
}

View file

@ -7,9 +7,10 @@
"noImplicitThis": true,
"strictNullChecks": true,
"alwaysStrict": true,
"target": "es6",
"target": "es2017",
"module": "es6",
"moduleResolution": "nodenext"
"moduleResolution": "nodenext",
"esModuleInterop": true
},
"exclude": ["**/*.test.ts"]
}