pages235/tsconfig.json
Vitaly d546fa8f41 enable strict null types which improves quality of codebase a lot!
todo add types to worker & world renderer
2023-11-01 03:07:07 +03:00

28 lines
937 B
JSON

{
"compilerOptions": {
"target": "ESNext",
"moduleResolution": "Node",
"module": "ESNext",
"allowJs": true,
"jsx": "react-jsx",
"allowSyntheticDefaultImports": true,
"noEmit": true,
"resolveJsonModule": false,
"strictFunctionTypes": true,
"noImplicitAny": false,
"noFallthroughCasesInSwitch": true,
"allowUnreachableCode": true,
"forceConsistentCasingInFileNames": true,
"useUnknownInCatchVariables": false,
"skipLibCheck": true,
// this the only options that allows smooth transition from js to ts (by not dropping types from js files)
// however might need to consider includeing *only needed libraries* instead of using this
"maxNodeModuleJsDepth": 1,
"strictNullChecks": true
},
"include": [
"src",
"cypress",
"prismarine-viewer/viewer"
]
}