Skip to content

Commit

Permalink
Merge pull request #1752 from pdong/chore/add-comparer-flow-type
Browse files Browse the repository at this point in the history
Add flow type for comparer export
  • Loading branch information
mweststrate authored Oct 10, 2018
2 parents 7818360 + 19b02cf commit 3f161f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flow-typed/mobx.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,12 @@ declare export function isComputedProp(value: any, property: string): boolean
declare export function isObservable(value: any): boolean
declare export function isObservableProp(value: any, property: string): boolean

declare export var comparer: {
identity: IEqualsComparer<any>,
structural: IEqualsComparer<any>,
default: IEqualsComparer<any>,
}

declare export var observable: IObservableFactory &
IObservableFactories & {
deep: {
Expand Down

0 comments on commit 3f161f3

Please sign in to comment.