2021-12-01 16:28:55 +08:00
|
|
|
{
|
|
|
|
// This file is not used in compilation. It is here just for a nice editor experience.
|
|
|
|
"extends": "@tsconfig/docusaurus/tsconfig.json",
|
|
|
|
"compilerOptions": {
|
|
|
|
"baseUrl": ".",
|
|
|
|
"types": [
|
|
|
|
"node",
|
|
|
|
"@docusaurus/module-type-aliases",
|
2024-01-21 19:32:28 +08:00
|
|
|
"@nullbot/docusaurus-theme-nonepress",
|
2021-12-29 21:09:31 +08:00
|
|
|
],
|
2023-09-27 16:00:26 +08:00
|
|
|
"paths": {
|
|
|
|
"@/*": ["./src/*"],
|
2024-01-21 19:32:28 +08:00
|
|
|
"@theme/*": ["./src/theme/*"],
|
2023-09-27 16:00:26 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
/* Strict Type-Checking Options */
|
|
|
|
"strict": true,
|
|
|
|
"strictNullChecks": true,
|
|
|
|
"strictFunctionTypes": true,
|
|
|
|
"strictBindCallApply": true,
|
|
|
|
"strictPropertyInitialization": true,
|
|
|
|
"noImplicitThis": true,
|
|
|
|
"alwaysStrict": true,
|
|
|
|
|
|
|
|
/* Disabled on purpose (handled by ESLint, should not block compilation) */
|
|
|
|
"noUnusedParameters": false,
|
|
|
|
|
|
|
|
/* Advanced Options */
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
"skipLibCheck": true, // @types/webpack and webpack/types.d.ts are not the same thing
|
|
|
|
|
|
|
|
/* Use tslib */
|
|
|
|
"importHelpers": true,
|
2024-01-21 19:32:28 +08:00
|
|
|
"noEmitHelpers": true,
|
|
|
|
},
|
2021-12-01 16:28:55 +08:00
|
|
|
}
|