Add `allowImportingTsExtensions` to tsconfig (#12939)

dbkr/sss
Florian Duros 2024-08-30 15:54:14 +02:00 committed by GitHub
parent d16ab09866
commit 2a450c095c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,8 @@
"resolveJsonModule": true, "resolveJsonModule": true,
"esModuleInterop": true, "esModuleInterop": true,
"moduleResolution": "node", "moduleResolution": "node",
"module": "es2022" "module": "es2022",
"allowImportingTsExtensions": true
}, },
"include": [ "include": [
"**/*.ts", "**/*.ts",

View File

@ -1,5 +1,6 @@
{ {
"compilerOptions": { "compilerOptions": {
"allowImportingTsExtensions": true,
"experimentalDecorators": false, "experimentalDecorators": false,
"emitDecoratorMetadata": false, "emitDecoratorMetadata": false,
"resolveJsonModule": true, "resolveJsonModule": true,