summaryrefslogtreecommitdiff
path: root/docs/tsconfig.json
diff options
context:
space:
mode:
authorPeter Johanson <peter@peterjohanson.com>2021-03-29 01:22:05 +0000
committerPete Johanson <peter@peterjohanson.com>2021-09-11 00:50:36 -0400
commit683991aa9346a29c265299020a59c0b4c1805926 (patch)
tree5a8b876db59138758ebcd90e6ef3b0bff68c2ff6 /docs/tsconfig.json
parent47abbe7925dece8a50b1001b0b9f32c64268f61b (diff)
feat(docs): Type check the docs TSX components.
Diffstat (limited to 'docs/tsconfig.json')
-rw-r--r--docs/tsconfig.json12
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/tsconfig.json b/docs/tsconfig.json
index 4360f0d..811eb18 100644
--- a/docs/tsconfig.json
+++ b/docs/tsconfig.json
@@ -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"]
+ }
}