mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-24 00:55:07 +08:00
37 lines
985 B
JSON
37 lines
985 B
JSON
{
|
|
// 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",
|
|
"@nullbot/docusaurus-theme-nonepress"
|
|
],
|
|
"paths": {
|
|
"@/*": ["./src/*"],
|
|
"@theme/*": ["./src/theme/*"]
|
|
},
|
|
|
|
/* 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,
|
|
"noEmitHelpers": true
|
|
}
|
|
}
|