mirror of
https://github.com/TurboWarp/extensions.git
synced 2024-11-25 16:32:57 +08:00
f1905f4556
Development server users will need to run `npm ci` after pulling this. types-tw is now installed as a git repository instead of an npm package: this reduces friction for updates considerably Many new types are added for the new APIs that now exist. Most of the weird things in lab/text are now fully type checked.
25 lines
981 B
JSON
25 lines
981 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"noEmit": true,
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"paths": {
|
|
// See https://github.com/turboWarp/types#using-from-npm
|
|
"scratch-vm": ["./node_modules/@turbowarp/types/index.d.ts"],
|
|
"scratch-render": ["./node_modules/@turbowarp/types/index.d.ts"],
|
|
"scratch-svg-renderer": ["./node_modules/@turbowarp/types/index.d.ts"],
|
|
"scratch-render-fonts": ["./node_modules/@turbowarp/types/index.d.ts"],
|
|
"scratch-storage": ["./node_modules/@turbowarp/types/index.d.ts"],
|
|
"scratch-audio": ["./node_modules/@turbowarp/types/index.d.ts"],
|
|
"scratch-parser": ["./node_modules/@turbowarp/types/index.d.ts"],
|
|
"scratch-blocks": ["./node_modules/@turbowarp/types/index.d.ts"]
|
|
}
|
|
},
|
|
"include": [
|
|
"node_modules/@turbowarp/types/types/scratch-vm-extension.d.ts",
|
|
"node_modules/@turbowarp/types/types/scratchx-extension.d.ts",
|
|
"extensions/**/*",
|
|
"website/**/*"
|
|
]
|
|
} |