Skip to content

Commit c3c752b

Browse files
authored
Fix incorrect Typescript types (#62)
1 parent 572ea3d commit c3c752b

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

index.d.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
declare module 'react-fast-compare' {
2-
const isEqual: (a: any, b: any) => boolean
3-
export default isEqual
4-
}
1+
declare function isEqual(a: any, b: any): boolean;
2+
declare namespace isEqual {}
3+
export = isEqual;

0 commit comments

Comments
 (0)