Skip to content

Commit

Permalink
Merge pull request #54 from LinusU/typescript
Browse files Browse the repository at this point in the history
Update TypeScript typings
  • Loading branch information
epoberezkin committed Jun 9, 2020
2 parents d807ffc + ea5b082 commit a8e7172
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions es6/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
declare const equal: (a: any, b: any) => boolean;
export = equal;
declare function equal<T>(actual: any, expected: T): actual is T
export = equal
4 changes: 2 additions & 2 deletions es6/react.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
declare const equal: (a: any, b: any) => boolean;
export = equal;
declare function equal<T>(actual: any, expected: T): actual is T
export = equal
6 changes: 2 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
declare module 'fast-deep-equal' {
const equal: (a: any, b: any) => boolean;
export = equal;
}
declare function equal<T>(actual: any, expected: T): actual is T
export = equal
4 changes: 2 additions & 2 deletions react.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
declare const equal: (a: any, b: any) => boolean;
export = equal;
declare function equal<T>(actual: any, expected: T): actual is T
export = equal

0 comments on commit a8e7172

Please sign in to comment.