Skip to content

Commit

Permalink
Update flow-typed definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
gregtatum committed Jan 22, 2018
1 parent e4b3388 commit 3e490b0
Show file tree
Hide file tree
Showing 72 changed files with 1,737 additions and 869 deletions.
33 changes: 29 additions & 4 deletions flow-typed/npm/array-move_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,33 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// flow-typed signature: dc4c83da5af360c1380cd28e50ab1743
// flow-typed version: <<STUB>>/array-move_v^1.0.0/flow_v0.63.1

/**
* This is an autogenerated libdef stub for:
*
* 'array-move'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module 'array-move' {
declare module.exports: <T>(input: T[], from: number, to: number) => T[]
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/


// Filename aliases
declare module 'array-move/index' {
declare module.exports: $Exports<'array-move'>;
}
declare module 'array-move/index.js' {
declare module.exports: $Exports<'array-move'>;
}
4 changes: 2 additions & 2 deletions flow-typed/npm/array-range_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 73993bb890ce33f3a3ee3eb6409451e4
// flow-typed version: <<STUB>>/array-range_v^1.0.1/flow_v0.53.1
// flow-typed signature: 64b04cdeef33666b68764088f3e8c439
// flow-typed version: <<STUB>>/array-range_v^1.0.1/flow_v0.63.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-cli_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 5c048923d5413dd23f0c6af7bd7fa806
// flow-typed version: <<STUB>>/babel-cli_v^6.24.0/flow_v0.53.1
// flow-typed signature: 94e44f973128ce7c802549991c028ceb
// flow-typed version: <<STUB>>/babel-cli_v^6.26.0/flow_v0.63.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-core_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 515e85dbd101f5c092c37327edebe206
// flow-typed version: <<STUB>>/babel-core_v^6.24.0/flow_v0.53.1
// flow-typed signature: d345cd551f1e83c0e730bcd569bede23
// flow-typed version: <<STUB>>/babel-core_v^6.26.0/flow_v0.63.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-eslint_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 91bba80afb49b45732fb5a4e3fc752e0
// flow-typed version: <<STUB>>/babel-eslint_v^7.2.1/flow_v0.53.1
// flow-typed signature: 3ed594442c4ca44c94b41bc350ebd075
// flow-typed version: <<STUB>>/babel-eslint_v^7.2.3/flow_v0.63.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-jest_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 7fbd18e47e19516448cc5cb80acdd94f
// flow-typed version: <<STUB>>/babel-jest_v^20.0.3/flow_v0.53.1
// flow-typed signature: fb87dc1f1379a8b479b822c897836e2f
// flow-typed version: <<STUB>>/babel-jest_v^20.0.3/flow_v0.63.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-loader_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 880ae4a5676b65053646f10d2dc98e40
// flow-typed version: <<STUB>>/babel-loader_v^7.1.0/flow_v0.53.1
// flow-typed signature: 10a92c74eab5d547509f818ef16e617e
// flow-typed version: <<STUB>>/babel-loader_v^7.1.2/flow_v0.63.1

/**
* This is an autogenerated libdef stub for:
Expand Down
32 changes: 32 additions & 0 deletions flow-typed/npm/babel-plugin-transform-class-properties_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// flow-typed signature: ffec3ad0fa3b7a1e39f375016f9f1b83
// flow-typed version: <<STUB>>/babel-plugin-transform-class-properties_v^6.24.1/flow_v0.63.1

/**
* This is an autogenerated libdef stub for:
*
* 'babel-plugin-transform-class-properties'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module 'babel-plugin-transform-class-properties' {
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'babel-plugin-transform-class-properties/lib/index' {
declare module.exports: any;
}

// Filename aliases
declare module 'babel-plugin-transform-class-properties/lib/index.js' {
declare module.exports: $Exports<'babel-plugin-transform-class-properties/lib/index'>;
}
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-plugin-transform-runtime_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 502b9eff4f90262d8011eb9542cd0c74
// flow-typed version: <<STUB>>/babel-plugin-transform-runtime_v^6.23.0/flow_v0.53.1
// flow-typed signature: 34c2667c21e23725187fce48f2fc4028
// flow-typed version: <<STUB>>/babel-plugin-transform-runtime_v^6.23.0/flow_v0.63.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-polyfill_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 44f698727ae01d510a5c41f5a6107f0d
// flow-typed version: <<STUB>>/babel-polyfill_v^6.23.0/flow_v0.53.1
// flow-typed signature: 1053a5c2dc03beea71676d0b14267785
// flow-typed version: <<STUB>>/babel-polyfill_v^6.26.0/flow_v0.63.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-preset-env_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 2c539b8a5523a02001a326913a7cd63f
// flow-typed version: <<STUB>>/babel-preset-env_v^1.3.2/flow_v0.53.1
// flow-typed signature: ef91b18cc9d2ea1605e5a2b87e90935a
// flow-typed version: <<STUB>>/babel-preset-env_v^1.6.1/flow_v0.63.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-preset-flow_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 977e75bdacd015d8f9a776ff27ce27ed
// flow-typed version: <<STUB>>/babel-preset-flow_v^6.23.0/flow_v0.53.1
// flow-typed signature: 9a5bb1f5cd4b22d9a865fd8fca73aef7
// flow-typed version: <<STUB>>/babel-preset-flow_v^6.23.0/flow_v0.63.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-preset-react-hmre_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: bb82a80ed56e7f5ffac6a3b76171393d
// flow-typed version: <<STUB>>/babel-preset-react-hmre_v^1.1.1/flow_v0.53.1
// flow-typed signature: 0b0280fc26d4367b4d8f31d9f80188c2
// flow-typed version: <<STUB>>/babel-preset-react-hmre_v^1.1.1/flow_v0.63.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-preset-react_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 7b0ff47e2a7bfca68e9fd3c0fd9dac4c
// flow-typed version: <<STUB>>/babel-preset-react_v^6.23.0/flow_v0.53.1
// flow-typed signature: 13d1f3801832f277dd1ebe626dc9725e
// flow-typed version: <<STUB>>/babel-preset-react_v^6.24.1/flow_v0.63.1

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-runtime_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: e4343837b3385dc607c06ccedc92ce30
// flow-typed version: <<STUB>>/babel-runtime_v^6.23.0/flow_v0.53.1
// flow-typed signature: 4cb9a2f31d388d51fa41784cba212e8a
// flow-typed version: <<STUB>>/babel-runtime_v^6.26.0/flow_v0.63.1

/**
* This is an autogenerated libdef stub for:
Expand Down
49 changes: 34 additions & 15 deletions flow-typed/npm/bisection_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,38 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// @flow
// flow-typed signature: 8c6191a0bc5e10003cf8132df67833c8
// flow-typed version: <<STUB>>/bisection_v0.0.3/flow_v0.63.1

type bisectionFn = (
array: number[] | $ArrayBufferView,
x: number,
low?: number,
high?: number
) => number;
/**
* This is an autogenerated libdef stub for:
*
* 'bisection'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module 'bisection' {
declare module.exports: {
right: bisectionFn,
left: bisectionFn,
version: string,
};
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'bisection/tests/bisection.test' {
declare module.exports: any;
}

// Filename aliases
declare module 'bisection/index' {
declare module.exports: $Exports<'bisection'>;
}
declare module 'bisection/index.js' {
declare module.exports: $Exports<'bisection'>;
}
declare module 'bisection/tests/bisection.test.js' {
declare module.exports: $Exports<'bisection/tests/bisection.test'>;
}
39 changes: 35 additions & 4 deletions flow-typed/npm/clamp_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,38 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// flow-typed signature: 284350811b77f9e890a6c5184a122f25
// flow-typed version: <<STUB>>/clamp_v^1.0.1/flow_v0.63.1

/**
* This is an autogenerated libdef stub for:
*
* 'clamp'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module 'clamp' {
declare module.exports: (value: number, min: number, max: number) => number;
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'clamp/test' {
declare module.exports: any;
}

// Filename aliases
declare module 'clamp/index' {
declare module.exports: $Exports<'clamp'>;
}
declare module 'clamp/index.js' {
declare module.exports: $Exports<'clamp'>;
}
declare module 'clamp/test.js' {
declare module.exports: $Exports<'clamp/test'>;
}
19 changes: 12 additions & 7 deletions flow-typed/npm/classnames_v2.x.x.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
// flow-typed signature: 04e310e8c98cdb5de377193da621970b
// flow-typed version: 7fd0a6404e/classnames_v2.x.x/flow_>=v0.25.x
// flow-typed signature: cf86673cc32d185bdab1d2ea90578d37
// flow-typed version: 614bf49aa8/classnames_v2.x.x/flow_>=v0.25.x

type $npm$classnames$Classes =
| string
| { [className: string]: * }
| Array<string>
| false
| void
| null;

declare module 'classnames' {
declare function exports(...classes: Array<$npm$classnames$Classes>): string;
declare module "classnames" {
declare module.exports: (
...classes: Array<$npm$classnames$Classes | $npm$classnames$Classes[]>
) => string;
}

declare module 'classnames/bind' {
declare module.exports: $Exports<'classnames'>;
declare module "classnames/bind" {
declare module.exports: $Exports<"classnames">;
}

declare module "classnames/dedupe" {
declare module.exports: $Exports<"classnames">;
}
Loading

0 comments on commit 3e490b0

Please sign in to comment.