From abc4df3780fef877bd4ce5f345885b500bd46cd6 Mon Sep 17 00:00:00 2001 From: Rahim Date: Thu, 30 Oct 2025 03:06:05 +0000 Subject: [PATCH] chore(site): add dom lib types --- examples/html-demo/tsconfig.json | 1 + examples/react-demo/tsconfig.json | 1 + site/tsconfig.json | 1 + 3 files changed, 3 insertions(+) diff --git a/examples/html-demo/tsconfig.json b/examples/html-demo/tsconfig.json index 50b8061b..cba98f94 100644 --- a/examples/html-demo/tsconfig.json +++ b/examples/html-demo/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { + "lib": ["ES2020", "DOM", "DOM.Iterable"], "baseUrl": "." }, "include": ["src"] diff --git a/examples/react-demo/tsconfig.json b/examples/react-demo/tsconfig.json index 40aa8ebc..69d97267 100644 --- a/examples/react-demo/tsconfig.json +++ b/examples/react-demo/tsconfig.json @@ -3,6 +3,7 @@ "compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "react", + "lib": ["ES2020", "DOM", "DOM.Iterable"], "baseUrl": "." }, "include": ["src"] diff --git a/site/tsconfig.json b/site/tsconfig.json index 12106210..3246704e 100644 --- a/site/tsconfig.json +++ b/site/tsconfig.json @@ -3,6 +3,7 @@ "compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "react", + "lib": ["ES2020", "DOM", "DOM.Iterable"], "baseUrl": ".", "paths": { "@/*": ["src/*"]