Skip to content

Commit

Permalink
Update flow-bin to the latest version 馃殌 (#3141)
Browse files Browse the repository at this point in the history
* chore(package): update flow-bin to version 0.64.0

* chore: Update Lodash Flow library definitions
  • Loading branch information
greenkeeper[bot] authored and ntwb committed Jan 26, 2018
1 parent 46e7f83 commit 09c57a0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
25 changes: 14 additions & 11 deletions decls/flow-typed/lodash.js
@@ -1,4 +1,4 @@
// https://raw.githubusercontent.com/flowtype/flow-typed/master/definitions/npm/lodash_v4.x.x/flow_v0.55.x-/lodash_v4.x.x.js
// https://raw.githubusercontent.com/flowtype/flow-typed/master/definitions/npm/lodash_v4.x.x/flow_v0.63.x-/lodash_v4.x.x.js
declare module "lodash" {
declare type __CurriedFunction1<A, R, AA: A> = (...r: [AA]) => R;
declare type CurriedFunction1<A, R> = __CurriedFunction1<A, R, *>;
Expand Down Expand Up @@ -213,15 +213,18 @@ declare module "lodash" {
chunk<T>(array?: ?Array<T>, size?: ?number): Array<Array<T>>;
compact<T, N: ?T>(array?: ?Array<N>): Array<T>;
concat<T>(base?: ?Array<T>, ...elements: Array<any>): Array<T | any>;
difference<T>(array?: ?Array<T>, values?: ?Array<T>): Array<T>;
difference<T>(
array?: ?$ReadOnlyArray<T>,
values?: ?$ReadOnlyArray<T>
): Array<T>;
differenceBy<T>(
array?: ?Array<T>,
values?: ?Array<T>,
array?: ?$ReadOnlyArray<T>,
values?: ?$ReadOnlyArray<T>,
iteratee?: ?ValueOnlyIteratee<T>
): T[];
differenceWith<T>(
array?: ?(T[]),
values?: ?(T[]),
array?: ?$ReadOnlyArray<T>,
values?: ?$ReadOnlyArray<T>,
comparator?: ?Comparator<T>
): T[];
drop<T>(array?: ?Array<T>, n?: ?number): Array<T>;
Expand Down Expand Up @@ -751,8 +754,8 @@ declare module "lodash" {
curry(func: Function, arity?: number): Function;
curryRight(func: Function, arity?: number): Function;
debounce<F: Function>(func: F, wait?: number, options?: DebounceOptions): F;
defer(func: Function, ...args?: Array<any>): number;
delay(func: Function, wait: number, ...args?: Array<any>): number;
defer(func: Function, ...args?: Array<any>): TimeoutID;
delay(func: Function, wait: number, ...args?: Array<any>): TimeoutID;
flip(func: Function): Function;
memoize<F: Function>(func: F, resolver?: Function): F;
negate(predicate: Function): Function;
Expand Down Expand Up @@ -2317,9 +2320,9 @@ declare module "lodash/fp" {
curryRightN(arity: number, func: Function): Function;
debounce(wait: number): <F: Function>(func: F) => F;
debounce<F: Function>(wait: number, func: F): F;
defer(func: Function): number;
delay(wait: number): (func: Function) => number;
delay(wait: number, func: Function): number;
defer(func: Function): TimeoutID;
delay(wait: number): (func: Function) => TimeoutID;
delay(wait: number, func: Function): TimeoutID;
flip(func: Function): Function;
memoize<F: Function>(func: F): F;
negate(predicate: Function): Function;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -88,7 +88,7 @@
"eslint": "~4.16.0",
"eslint-config-stylelint": "~8.1.0",
"file-exists-promise": "^1.0.2",
"flow-bin": "^0.63.1",
"flow-bin": "^0.64.0",
"husky": "^0.14.3",
"jest": "^22.0.6",
"lint-staged": "^6.0.0",
Expand Down

0 comments on commit 09c57a0

Please sign in to comment.