Skip to content

Commit 6f3be80

Browse files
committed
feat: assert iterable types
1 parent d229fe9 commit 6f3be80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chai/interface/assert.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ export interface AssertInterface {
513513

514514
isCallable(val: unknown, msg?: string): void;
515515
isNotCallable(val: unknown, msg?: string): void;
516-
isIterable(val: unknown, msg?: string): void;
516+
isIterable(val: unknown, msg?: string): asserts val is Iterable<unknown>;
517517
}
518518

519519
/**

0 commit comments

Comments
 (0)