Files
create-node-ts-graphql-server/tsconfig.json
Alejandro Lembke Barrientos 9cfac2494a PR-715551: Fix tsconfig.json for TypeScript 6 compatibility.
Added ignoreDeprecations and types jest/node to fix TS6 breaking
changes. Regenerated package-lock.json with --include=optional.
2026-06-03 04:16:01 +00:00

34 lines
1.1 KiB
JSON

{
"compilerOptions": {
"module": "commonjs",
"esModuleInterop": true,
"target": "es2021",
"moduleResolution": "node10",
"ignoreDeprecations": "5.0",
"sourceMap": true,
"typeRoots" : ["./src/@types", "./node_modules/@types"],
"types": ["jest", "node"],
"strict": true,
"forceConsistentCasingInFileNames": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"baseUrl": ".",
"paths": {
"@src/*": ["src/*"],
"@src": ["src"],
"@routes*": ["src/routes/*"],
"@routes": ["src/routes"],
"@controllers/*": ["src/controllers/*"],
"@controllers": ["src/controllers"],
"@models/*": ["src/models/*"],
"@models": ["src/models"],
"@controllerGraphQL/*": ["src/controllers/controllerGraphQL/*"],
"@controllerGraphQL": ["src/controllers/controllerGraphQL"],
"@GraphQL/*": ["src/GraphQL/*"],
"@GraphQL": ["src/GraphQL"],
"@config/*": ["config/*"],
"@config": ["config"]
}
},
"lib": ["es2018", "esnext.asynciterable"]
}