Chart.js/tsconfig.json
Dan Onoshko 2031cdf051
Preparing the project for TypeScript (#10595)
* Add Typescript to the build
* Converts the `helpers.core` to Typescript as an example
* Converts the `core.element` to Typescript
2022-08-22 11:58:57 -04:00

46 lines
1.1 KiB
JSON

{
"compilerOptions": {
/* Type Checking */
"alwaysStrict": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
/* todo: uncomment after transition to TS */
// "noFallthroughCasesInSwitch": true,
// "noImplicitOverride": true,
// "noImplicitReturns": true,
// "noUnusedLocals": true,
// "noUnusedParameters": true,
/* Modules */
"moduleResolution": "Node",
"types": ["offscreencanvas"],
/* Emit */
"declaration": true,
"outDir": "dist",
/* JavaScript Support */
"allowJs": true,
"checkJs": true,
/* Interop Constraints */
"allowSyntheticDefaultImports": true,
/* Language and Environment */
"target": "ES6",
"lib": ["es2018", "DOM"],
/* Completeness */
"skipLibCheck": true
},
"typedocOptions": {
"name": "Chart.js",
"entryPoints": ["types/index.d.ts"],
"readme": "none",
"excludeExternals": true,
"includeVersion": true,
"out": "./dist/docs/typedoc"
},
"include": [
"./src/**/*",
"./types"
],
"exclude": [
"./types/tests"
]
}