fix(init): add dom.iterable to template compilerOptions.lib (#2656)
Ref: https://github.com/denoland/deno/issues/25741
This commit is contained in:
+1
-1
@@ -574,7 +574,7 @@ if (Deno.args.includes("build")) {
|
|||||||
"@preact/signals": `npm:@preact/signals@^${PREACT_SIGNALS_VERSION}`,
|
"@preact/signals": `npm:@preact/signals@^${PREACT_SIGNALS_VERSION}`,
|
||||||
} as Record<string, string>,
|
} as Record<string, string>,
|
||||||
compilerOptions: {
|
compilerOptions: {
|
||||||
lib: ["dom", "dom.asynciterable", "deno.ns"],
|
lib: ["dom", "dom.asynciterable", "dom.iterable", "deno.ns"],
|
||||||
jsx: "precompile",
|
jsx: "precompile",
|
||||||
jsxImportSource: "preact",
|
jsxImportSource: "preact",
|
||||||
jsxPrecompileSkipElements: [
|
jsxPrecompileSkipElements: [
|
||||||
|
|||||||
Reference in New Issue
Block a user