fix(tracker): update target module in tsconfig, add moduleInterop for test runner
This commit is contained in:
parent
c2ce67b893
commit
e7bdad24f1
2 changed files with 5 additions and 3 deletions
|
|
@ -2,7 +2,8 @@
|
|||
"extends": "../../tsconfig-base.json",
|
||||
"compilerOptions": {
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"lib": ["es6", "dom"]
|
||||
"lib": ["es2017", "dom"],
|
||||
"declaration": true
|
||||
},
|
||||
"references": [{ "path": "../common" }]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue