From 182bda5b7f3d332761cfcb552a9ddf8115038ea5 Mon Sep 17 00:00:00 2001 From: Tim Reichen Date: Wed, 2 Oct 2024 01:28:50 +0200 Subject: [PATCH] fix(init): add `dom.iterable` to template `compilerOptions.lib` (#2656) Ref: https://github.com/denoland/deno/issues/25741 --- init/src/init.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/src/init.ts b/init/src/init.ts index f1d983c0..00219969 100644 --- a/init/src/init.ts +++ b/init/src/init.ts @@ -574,7 +574,7 @@ if (Deno.args.includes("build")) { "@preact/signals": `npm:@preact/signals@^${PREACT_SIGNALS_VERSION}`, } as Record, compilerOptions: { - lib: ["dom", "dom.asynciterable", "deno.ns"], + lib: ["dom", "dom.asynciterable", "dom.iterable", "deno.ns"], jsx: "precompile", jsxImportSource: "preact", jsxPrecompileSkipElements: [