Skip to content

Commit

Permalink
Merge pull request #1451 from AMilassin/patch-2
Browse files Browse the repository at this point in the history
Flow-typed: add missing runInAction declaration
  • Loading branch information
mweststrate authored Mar 26, 2018
2 parents 057df95 + 460ada2 commit 052bc55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flow-typed/mobx.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ declare export function action(
declare export function action<T>(name: string, func: T): T
declare export function action<T>(func: T): T

declare export function runInAction<T>(name: string, block: () => T): T
declare export function runInAction<T>(block: () => T): T
declare export function isAction(thing: any): boolean
declare export function autorun(
Expand Down

0 comments on commit 052bc55

Please sign in to comment.