Skip to content

Commit 4cb902d

Browse files
committed
not async
1 parent b5278c6 commit 4cb902d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/compiler/program.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3862,7 +3862,8 @@ export function createProgram(_rootNamesOrOptions: readonly string[] | CreatePro
38623862
// Force the inclusion of ES6 and DOM's iterable libs.
38633863
switch (libFileName) {
38643864
case "lib.dom.d.ts":
3865-
names.push("lib.dom.iterable.d.ts", "lib.dom.asynciterable.d.ts");
3865+
names.push("lib.dom.iterable.d.ts");
3866+
// TODO: auto add dom.asynciterable.d.ts in es2018?
38663867
break;
38673868
case "lib.es5.d.ts":
38683869
names.push("lib.es2015.d.ts");

0 commit comments

Comments
 (0)