chore: Add typescript support to eslint, fix errors (#2923)
This commit is contained in:
parent
e3030bfcc8
commit
4235c8b491
16 changed files with 309 additions and 31 deletions
|
|
@ -4,10 +4,12 @@
|
|||
"compilerOptions": {
|
||||
"types": ["node", "@docusaurus/theme-classic"],
|
||||
"moduleResolution": "Bundler",
|
||||
"module": "esnext",
|
||||
"esModuleInterop": true,
|
||||
"resolveJsonModule": true,
|
||||
"strict": true,
|
||||
"noEmit": true,
|
||||
"jsx": "react-jsx",
|
||||
"target": "ES6",
|
||||
"lib": ["ES2022", "DOM", "DOM.Iterable"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue