This commit is contained in:
David Arranz 2024-09-08 15:09:14 +02:00
parent 1a8b3ce6a7
commit d116a82f8c
2 changed files with 4 additions and 12 deletions

View File

@ -48,7 +48,7 @@
}, },
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [] /* List of folders to include type definitions from. */, "typeRoots": ["./node_modules/@types"] /* List of folders to include type definitions from. */,
// "types": [], /* Type declaration files to be included in compilation. */ // "types": [], /* Type declaration files to be included in compilation. */
"allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */, "allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,

View File

@ -3,10 +3,7 @@
/* Basic Options */ /* Basic Options */
"target": "ES2022" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */, "target": "ES2022" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */,
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */, "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
"lib": [ "lib": ["ES2022", "dom"] /* Specify library files to be included in the compilation. */,
"ES2022",
"dom"
] /* Specify library files to be included in the compilation. */,
"allowJs": false /* Allow javascript files to be compiled. */, "allowJs": false /* Allow javascript files to be compiled. */,
"pretty": true, "pretty": true,
@ -51,7 +48,7 @@
}, },
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [] /* List of folders to include type definitions from. */, "typeRoots": ["./node_modules/@types"] /* List of folders to include type definitions from. */,
// "types": [], /* Type declaration files to be included in compilation. */ // "types": [], /* Type declaration files to be included in compilation. */
"allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */, "allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
@ -72,10 +69,5 @@
"resolveJsonModule": true /* Include modules imported with '.json' extension */, "resolveJsonModule": true /* Include modules imported with '.json' extension */,
"suppressImplicitAnyIndexErrors": false "suppressImplicitAnyIndexErrors": false
}, },
"exclude": [ "exclude": ["src/**/__tests__/*", "src/**/*.mock.*", "src/**/*.test.*", "node_modules"]
"src/**/__tests__/*",
"src/**/*.mock.*",
"src/**/*.test.*",
"node_modules"
]
} }