Spaces:
Paused
Paused
Download jsconfig.json from Almaatla/SpaceCities: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/spaces/Almaatla/SpaceCities/resolve/d19cbc4fab45274de920705d8b5b01da170c7e89/jsconfig.json
- Command line
-
hf download hf://spaces/Almaatla/SpaceCities@d19cbc4fab45274de920705d8b5b01da170c7e89/jsconfig.json
-
curl -L -o jsconfig.json https://huggingface.co/spaces/Almaatla/SpaceCities/resolve/d19cbc4fab45274de920705d8b5b01da170c7e89/jsconfig.json
1.07 kB
| { | |
| "//": "Editor + `npm run typecheck` config. NOT a build step — nothing is emitted (noEmit) and the shipped code stays plain ES modules. checkJs is off, so ONLY files that opt in with a `// @ts-check` pragma are error-checked; this lets type coverage grow file-by-file. The shared shapes live in engine/types.js. NOTE: the pragma alone buys nothing while strict/noImplicitAny are off — an un-annotated param is `any`, so a file must annotate its exports with the shared typedefs to actually be checked (test/types-contract.test.js enforces that). tools/ is in the program so the ailab/selfplay benches can opt in too.", | |
| "compilerOptions": { | |
| "checkJs": false, | |
| "allowJs": true, | |
| "noEmit": true, | |
| "target": "ESNext", | |
| "module": "ESNext", | |
| "moduleResolution": "bundler", | |
| "strict": false, | |
| "noImplicitAny": false, | |
| "skipLibCheck": true, | |
| "forceConsistentCasingInFileNames": true, | |
| "lib": ["ESNext", "DOM", "DOM.Iterable"] | |
| }, | |
| "include": ["*.js", "engine/**/*.js", "tools/**/*.js"], | |
| "exclude": ["node_modules", "test"] | |
| } | |