github.com/v2fly/tools@v0.100.0/internal/lsp/protocol/typescript/tsconfig.json (about) 1 { 2 "compilerOptions": { 3 "isolatedModules": true, 4 "moduleResolution": "node", 5 "lib":["ES2020"], 6 "sourceMap": true, // sourceMap or inlineSourceMap? and see inlineSources 7 "target": "ES5", 8 9 "noFallthroughCasesInSwitch": false, // there is one legitimate on 10 "noImplicitReturns": true, 11 "noPropertyAccessFromIndexSignature": true, 12 "noUncheckedIndexedAccess": true, 13 "noUnusedLocals": true, 14 "noUnusedParameters": false, 15 "noEmitOnError": true, 16 17 // "extendedDiagnostics": true, // for occasional amusement 18 19 // "strict": true, // too many undefineds in types, etc 20 "alwaysStrict": true, 21 "noImplicitAny": true, 22 "noImplicitThis": true, 23 "strictBindCallApply": true, 24 "strictFunctionTypes": true, 25 "strictNullChecks": false, // doesn't like arrray access, among other things. 26 //"strictPropertyInitialization": true, // needs strictNullChecks 27 }, 28 "files": ["./code.ts", "./util.ts"] 29 }