Allow JSON TS imports, fix errors from enabling esModuleInterop (required for JSON imports)

This commit is contained in:
Dragory 2018-07-12 02:58:34 +03:00
parent e6f296381e
commit 498ebe8939
8 changed files with 13 additions and 10 deletions

View file

@ -1,5 +1,6 @@
{
"compilerOptions": {
"moduleResolution": "node",
"module": "commonjs",
"noImplicitAny": false,
"allowSyntheticDefaultImports": true,
@ -10,6 +11,8 @@
"es7",
"ES2017"
],
"baseUrl": "./"
"baseUrl": "./",
"resolveJsonModule": true,
"esModuleInterop": true
}
}