From 93b12cf74bd2423b96faf55bb29e56f76e4f804e Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Wed, 16 Feb 2022 00:59:41 +0300 Subject: [PATCH] Fix iterable querySelectorAll TypeScript errors --- tsconfig.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 82a831f89c..63e6b38825 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "target": "ES5", - "lib": ["DOM", "ES2015"], + "lib": ["DOM", "DOM.Iterable", "ES2015"], "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, @@ -13,7 +13,8 @@ "outDir": "./dist/", "checkJs": false, "strictNullChecks": true, - "jsx": "react-jsx" + "jsx": "react-jsx", + "downlevelIteration": true }, "include": [ "src"