Files
GDevelop/tsconfig.json
Florian Rival d0dba2a713 Fix typings in TypeScript files
Don't show in changelog
2021-01-08 19:54:56 +01:00

37 lines
1.2 KiB
JSON

{
"compilerOptions": {
"noEmit": true,
"allowJs": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"lib": ["DOM", "ES5", "ScriptHost", "ES2015.Iterable", "ES2015.Promise"],
"typeRoots": ["GDJS/node_modules/@types/"]
},
"include": [
"GDJS/Runtime/**/*",
"Extensions/**/*.js",
"Extensions/**/*.ts",
"GDJS/tests/tests/**/*.js",
"GDJS/tests/tests-utils/**/*.js",
"GDJS/tests/benchmarks/**/*.js"
],
"//": "As Cocos2D-JS renderers are not maintained, we exclude them from TypeScript checks. Also exclude some libraries or deprecated extensions.",
"exclude": [
"GDJS/Runtime/cocos-renderers",
"GDJS/Runtime/cocos-sound-manager",
"Extensions/**/*-cocos-renderer.ts",
"GDJS/Runtime/pixi-renderers/pixi.js",
"GDJS/Runtime/Cocos2d",
"GDJS/Runtime/Cordova",
"GDJS/Runtime/Electron",
"GDJS/Runtime/FacebookInstantGames",
"GDJS/Runtime/libs/CocoonJS",
"Extensions/**/JsExtension.js",
"Extensions/SkeletonObject",
"Extensions/Effects/pixi-filters/filter-alpha.js"
]
}