Skip to content

Commit 84b8ab8

Browse files
tkntknRyanCavanaugh
authored andcommitted
Fix iterable SetConstructor interface (#29777)
1 parent 760393f commit 84b8ab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/es2015.iterable.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ interface ReadonlySet<T> {
177177
}
178178

179179
interface SetConstructor {
180-
new <T>(iterable: Iterable<T>): Set<T>;
180+
new <T>(iterable?: Iterable<T> | null): Set<T>;
181181
}
182182

183183
interface WeakSet<T extends object> { }

0 commit comments

Comments
 (0)