Skip to content

Commit

Permalink
Add flow type for comparer export
Browse files Browse the repository at this point in the history
  • Loading branch information
pdong committed Oct 2, 2018
1 parent be74b5f commit 19b02cf
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 19b02cf

Please sign in to comment.