docusaurus/tsconfig.json
Orta Therox 33ecc4bb17
chore(v2): tighten up the TypeScript onboarding (#3244)
* Tighten up the TypeScript onboarding

* Extend the API to cover everything used in the classic theme

* Wrap up internal TS support
2020-08-17 18:03:21 +02:00

37 lines
958 B
JSON

{
"compilerOptions": {
"target": "es2017",
"module": "commonjs",
"lib": ["es2017","es2019.array", "DOM"],
"declaration": true,
"declarationMap": true,
"jsx": "react",
/* Strict Type-Checking Options */
"strict": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,
/* Additional Checks */
"noUnusedLocals": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
/* Disabled on purpose (handled by ESLint, should not block compilation) */
"noUnusedParameters": false,
/* Module Resolution Options */
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
/* Advanced Options */
"resolveJsonModule": true
},
"exclude": ["node_modules", "**/__tests__/**/*", "**/lib/**/*"]
}