Skip to content

Commit

Permalink
feat(helpers): adds flow types for err_or_ok method
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsasharegan committed Sep 19, 2018
1 parent c7f49ea commit e202907
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flow-typed/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,7 @@ declare export function has_at_path(
},
path: string[]
): boolean;
declare export function err_or_ok<E, T>(err: E | null | undefined, ok: T): Result<T, E>;

/**
* `TaskResolver` is an object that implements the `Ok` and `Err` callback
Expand Down

0 comments on commit e202907

Please sign in to comment.