feat(docs): Type check the docs TSX components.

This commit is contained in:
Peter Johanson
2021-03-29 01:22:05 +00:00
committed by Pete Johanson
parent 47abbe7925
commit 683991aa93
3 changed files with 26 additions and 2 deletions

View File

@@ -1,4 +1,14 @@
{
"extends": "@tsconfig/docusaurus/tsconfig.json",
"include": ["src/"]
"include": ["src/"],
"compilerOptions": {
"jsx": "react",
"moduleResolution": "Node",
"esModuleInterop": true,
"resolveJsonModule": true,
"strict": true,
"noEmit": true,
"target": "ES6",
"lib": ["ES2019.Array", "DOM", "DOM.Iterable"]
}
}