From 3c95ee011d3edbb5e99162237e17044f9522e24d Mon Sep 17 00:00:00 2001 From: dpsifr Date: Thu, 24 Jul 2025 11:21:29 -0700 Subject: [PATCH] **feat(config): add support for 'DOM.Asynciterable' in TypeScript config files** - Updated `tsconfig.unified.json`, `tsconfig.browser.json`, and `tsconfig.json` to include `"DOM.Asynciterable"` in the `lib` option. - Ensured compatibility with asynchronous iteration patterns in DOM APIs. **Purpose**: Enable support for DOM asynchronous iterable utilities, improving compatibility with modern TypeScript and DOM usage scenarios. --- tsconfig.browser.json | 3 ++- tsconfig.json | 3 ++- tsconfig.unified.json | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tsconfig.browser.json b/tsconfig.browser.json index b8deca5b..18b0ace3 100644 --- a/tsconfig.browser.json +++ b/tsconfig.browser.json @@ -10,7 +10,8 @@ "rootDir": ".", "lib": [ "DOM", - "ESNext" + "ESNext", + "DOM.Asynciterable" ], "skipLibCheck": true, "forceConsistentCasingInFileNames": true, diff --git a/tsconfig.json b/tsconfig.json index a72fcfc0..15ac68ea 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,8 @@ "rootDir": "./src", "lib": [ "DOM", - "ESNext" + "ESNext", + "DOM.Asynciterable" ], "skipLibCheck": true, "forceConsistentCasingInFileNames": true, diff --git a/tsconfig.unified.json b/tsconfig.unified.json index a72fcfc0..15ac68ea 100644 --- a/tsconfig.unified.json +++ b/tsconfig.unified.json @@ -10,7 +10,8 @@ "rootDir": "./src", "lib": [ "DOM", - "ESNext" + "ESNext", + "DOM.Asynciterable" ], "skipLibCheck": true, "forceConsistentCasingInFileNames": true,