refactor(workspace): update tsconfig files
enable `esmoduleinterop` and `allowsyntheticdefaultimports`
This commit is contained in:
parent
25582dd1f1
commit
0d6acdf174
@ -4,6 +4,8 @@
|
|||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"outDir": "../out",
|
"outDir": "../out",
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"verbatimModuleSyntax": false
|
"verbatimModuleSyntax": false,
|
||||||
|
"allowSyntheticDefaultImports": true,
|
||||||
|
"esModuleInterop": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
{
|
{
|
||||||
// https://nuxt.com/docs/guide/concepts/typescript
|
|
||||||
"extends": "./.nuxt/tsconfig.json",
|
"extends": "./.nuxt/tsconfig.json",
|
||||||
|
// https://nuxt.com/docs/guide/concepts/typescript
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"noImplicitThis": false,
|
"noImplicitThis": false,
|
||||||
"verbatimModuleSyntax": false
|
"verbatimModuleSyntax": false,
|
||||||
// "paths": {
|
"forceConsistentCasingInFileNames": false,
|
||||||
// "@dbconfig": ["./lib/dbconfig.ts"],
|
"allowSyntheticDefaultImports": true
|
||||||
// "@functions": ["./lib/functions.ts"]
|
},
|
||||||
// }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user