mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
* feat(v2): Support swizzling TypeScript components * Add tsc --noEmit to tsc script in theme-classic Now everything can pass the type checker! (although still a lot of any) * Add tsconfig and types.d.ts to website Improve developer experience. As an example, I converted NotFound to tsx * Apply type annotation suggestions * Do not fallback to `getThemePath` if getTypeScriptThemePath is undefined * Fix tsc * Add module declaration for @theme-original/* * Move babel cli to root package.json
14 lines
309 B
JSON
14 lines
309 B
JSON
{
|
|
// This file is not used in compilation. It is here just for a nice editor experience.
|
|
"extends": "../tsconfig.json",
|
|
"compilerOptions": {
|
|
"lib": ["DOM"],
|
|
"module": "esnext",
|
|
"noEmit": true,
|
|
"noImplicitAny": false,
|
|
"jsx": "react",
|
|
"baseUrl": "src"
|
|
},
|
|
"include": ["src/"]
|
|
}
|