mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-14 11:37:06 +08:00
0751375ab6
* rework shared types * revert one small change
41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES6",
|
|
"lib": ["ESNext", "DOM", "DOM.Iterable"],
|
|
"module": "CommonJS",
|
|
"moduleResolution": "node",
|
|
"types": ["jquery", "select2", "node", "jest"],
|
|
"allowUmdGlobalAccess": true,
|
|
"resolveJsonModule": true,
|
|
"outDir": "./build",
|
|
"newLine": "lf",
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"strict": true,
|
|
"noImplicitAny": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"strictBindCallApply": true,
|
|
"strictPropertyInitialization": true,
|
|
"noImplicitThis": true,
|
|
"useUnknownInCatchVariables": true,
|
|
"alwaysStrict": true,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"exactOptionalPropertyTypes": false,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
"allowUnusedLabels": false,
|
|
"allowUnreachableCode": false,
|
|
"skipLibCheck": false,
|
|
"paths": {
|
|
"@backend/*": ["../backend/src/*"]
|
|
}
|
|
},
|
|
"include": ["./src/**/*.ts"],
|
|
"files": ["src/ts/modules.d.ts", "../shared-types/types.d.ts"],
|
|
"exclude": ["node_modules", "build", "setup-tests.ts", "**/*.spec.ts"]
|
|
}
|