Skip to content

Commit 126d823

Browse files
authored
Convert function to TypeGuard
1 parent c306521 commit 126d823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
declare function isEqual<A = any, B = any>(a: A, b: B): boolean;
1+
declare function isEqual<A = any, B = any>(a: A, b: B): a is B;
22
export = isEqual;

0 commit comments

Comments
 (0)