feedback5 R6: add a small checkJs slice and core typedefs
tsc checks shared (except protocol.js and bandBonds.js), the sim rng/dir/constants helpers, and types/core.js. strict stays off. types/README.md says how to widen the slice.
This commit is contained in:
1 parent
babc35b72a
commit
64a7f48efa
5 files changed
+193
-3
No files matched your search
@@ -0,0 +1,29 @@
|
||||
{
|
||||
// First typecheck slice (npm run typecheck). strict stays off until a folder is clean.
|
||||
// tsc does not load this file unless invoked with -p jsconfig.json.
|
||||
// Widen one path at a time: see types/README.md.
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"module": "NodeNext",
|
||||
"moduleResolution": "NodeNext",
|
||||
"checkJs": true,
|
||||
"allowJs": true,
|
||||
"noEmit": true,
|
||||
"strict": false,
|
||||
"skipLibCheck": true,
|
||||
"types": [],
|
||||
"lib": ["ES2022"],
|
||||
"maxNodeModuleJsDepth": 0
|
||||
},
|
||||
"include": [
|
||||
"shared/**/*.js",
|
||||
"server/sim/rng.js",
|
||||
"server/sim/dir.js",
|
||||
"server/sim/constants.js",
|
||||
"types/**/*.js"
|
||||
],
|
||||
"exclude": [
|
||||
"shared/protocol.js",
|
||||
"shared/bandBonds.js"
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user