From 67b82d538bce0bb09e4bf3baf5bfa559405891ee Mon Sep 17 00:00:00 2001 From: Roj Date: Tue, 23 Aug 2022 16:26:21 +0300 Subject: [PATCH] fix: add reference to dom.iterable (#641) This fixes TypeScript errors with things like `URLSearchParams.entries`. --- examples/counter/main.ts | 1 + init.ts | 1 + tests/deps.ts | 1 + tests/fixture/main.ts | 1 + tests/fixture_error/main.ts | 1 + tests/fixture_plugin/main.ts | 1 + www/main.ts | 1 + 7 files changed, 7 insertions(+) diff --git a/examples/counter/main.ts b/examples/counter/main.ts index 552ac27d..dedce9cb 100644 --- a/examples/counter/main.ts +++ b/examples/counter/main.ts @@ -1,5 +1,6 @@ /// /// +/// /// /// diff --git a/init.ts b/init.ts index 3e6432eb..f13f8924 100644 --- a/init.ts +++ b/init.ts @@ -259,6 +259,7 @@ try { let MAIN_TS = `/// /// +/// /// /// diff --git a/tests/deps.ts b/tests/deps.ts index 46f7a5da..f8564812 100644 --- a/tests/deps.ts +++ b/tests/deps.ts @@ -1,5 +1,6 @@ /// /// +/// /// /// diff --git a/tests/fixture/main.ts b/tests/fixture/main.ts index c1b47e35..1409a21d 100644 --- a/tests/fixture/main.ts +++ b/tests/fixture/main.ts @@ -1,5 +1,6 @@ /// /// +/// /// /// diff --git a/tests/fixture_error/main.ts b/tests/fixture_error/main.ts index 552ac27d..dedce9cb 100644 --- a/tests/fixture_error/main.ts +++ b/tests/fixture_error/main.ts @@ -1,5 +1,6 @@ /// /// +/// /// /// diff --git a/tests/fixture_plugin/main.ts b/tests/fixture_plugin/main.ts index 8b969179..1d83e08b 100644 --- a/tests/fixture_plugin/main.ts +++ b/tests/fixture_plugin/main.ts @@ -1,5 +1,6 @@ /// /// +/// /// /// diff --git a/www/main.ts b/www/main.ts index 33c106c0..82b86603 100644 --- a/www/main.ts +++ b/www/main.ts @@ -1,5 +1,6 @@ /// /// +/// /// ///