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