refactor(workspace): update tsconfig files

enable `esmoduleinterop` and `allowsyntheticdefaultimports`
This commit is contained in:
parent 25582dd1f1
commit 0d6acdf174
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C
2 changed files with 9 additions and 8 deletions

@ -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
},
}