diff options
Diffstat (limited to 'bskyembed/tsconfig.json')
-rw-r--r-- | bskyembed/tsconfig.json | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bskyembed/tsconfig.json b/bskyembed/tsconfig.json index bbfce13ed..44c516ed1 100644 --- a/bskyembed/tsconfig.json +++ b/bskyembed/tsconfig.json @@ -3,8 +3,8 @@ "compilerOptions": { "target": "ES5", "lib": ["DOM", "DOM.Iterable", "ESNext"], - "types": [], - "allowJs": true, + "types": ["vite/client"], + "allowJs": false, "skipLibCheck": true, "esModuleInterop": false, "allowSyntheticDefaultImports": true, @@ -17,7 +17,8 @@ "noEmit": true, "jsx": "react", "jsxFactory": "h", - "jsxFragmentFactory": "Fragment" + "jsxFragmentFactory": "Fragment", + "downlevelIteration": true }, "include": ["src"] } |