From 2b194db557ad7db516ea88149e0dfb381be5d75a Mon Sep 17 00:00:00 2001 From: Gildas Garcia <1122076+djhi@users.noreply.github.com> Date: Thu, 4 Feb 2021 16:23:14 +0100 Subject: [PATCH] Fix TS Config --- examples/simple/tsconfig.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/examples/simple/tsconfig.json b/examples/simple/tsconfig.json index 424e2c193f5..100e0ddfcea 100644 --- a/examples/simple/tsconfig.json +++ b/examples/simple/tsconfig.json @@ -5,7 +5,15 @@ "rootDir": "src", "declaration": true, "allowJs": false, - "jsx": "react" + "jsx": "react", + "lib": [ + "es2017", + "dom" + ], + "moduleResolution": "node", + "allowSyntheticDefaultImports": true, + "esModuleInterop": true, + "skipLibCheck": true }, "exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.spec.js"], "include": ["src"]