Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flow-types to library level #1820

Merged
merged 10 commits into from
Jul 7, 2017
1 change: 0 additions & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[include]

[libs]
./index.js.flow

[options]
suppress_comment= \\(.\\|\n\\)*\\$ExpectError
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ lib
test-lib
dist
npm
!flow-typed/npm

# webstorm
.idea/
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Change log

### vNEXT
- Add support for flow typecheck to work out of the box (without any configuration) [PR #1820](https://github.com/apollographql/apollo-client/pull/1820)
- Remove the dependency on the query and mutation store from the data reducer. Apollo actions sent to Redux now contain additional information that was originally pulled from the query and mutation stores [PR #1845](https://github.com/apollographql/apollo-client/pull/1845)
- Fix: Avoiding reprocessing of identical data when writing to the store [PR #1675](https://github.com/apollographql/apollo-client/pull/1675)

Expand Down
18 changes: 18 additions & 0 deletions flow-typed/npm/@types/benchmark_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: 2b8e953e232e808500cb9d616cda53b7
// flow-typed version: <<STUB>>/@types/benchmark_v^1.0.30/flow_v0.48.0

/**
* This is an autogenerated libdef stub for:
*
* '@types/benchmark'
*
* 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 '@types/benchmark' {
declare module.exports: any;
}
18 changes: 18 additions & 0 deletions flow-typed/npm/@types/chai-as-promised_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: 7bfbfc5d087874170ce6168caff5b66c
// flow-typed version: <<STUB>>/@types/chai-as-promised_v0.0.31/flow_v0.48.0

/**
* This is an autogenerated libdef stub for:
*
* '@types/chai-as-promised'
*
* 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 '@types/chai-as-promised' {
declare module.exports: any;
}
18 changes: 18 additions & 0 deletions flow-typed/npm/@types/chai_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: 2d385d858292ff112ca939833ca04ee3
// flow-typed version: <<STUB>>/@types/chai_v4.0.0/flow_v0.48.0

/**
* This is an autogenerated libdef stub for:
*
* '@types/chai'
*
* 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 '@types/chai' {
declare module.exports: any;
}
18 changes: 18 additions & 0 deletions flow-typed/npm/@types/lodash_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: a659767d2f41832d35f4fedbdda4140c
// flow-typed version: <<STUB>>/@types/lodash_v4.14.65/flow_v0.48.0

/**
* This is an autogenerated libdef stub for:
*
* '@types/lodash'
*
* 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 '@types/lodash' {
declare module.exports: any;
}
18 changes: 18 additions & 0 deletions flow-typed/npm/@types/mocha_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: f58456b38eae6df2434100d3a7881df1
// flow-typed version: <<STUB>>/@types/mocha_v^2.2.31/flow_v0.48.0

/**
* This is an autogenerated libdef stub for:
*
* '@types/mocha'
*
* 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 '@types/mocha' {
declare module.exports: any;
}
18 changes: 18 additions & 0 deletions flow-typed/npm/@types/node_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: 2121f464db55a2a7cb7eb2b99d5b4708
// flow-typed version: <<STUB>>/@types/node_v8.0.1/flow_v0.48.0

/**
* This is an autogenerated libdef stub for:
*
* '@types/node'
*
* 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 '@types/node' {
declare module.exports: any;
}
18 changes: 18 additions & 0 deletions flow-typed/npm/@types/promises-a-plus_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: 59a0c8be7e676646e3e9be2f10a5c259
// flow-typed version: <<STUB>>/@types/promises-a-plus_v0.0.27/flow_v0.48.0

/**
* This is an autogenerated libdef stub for:
*
* '@types/promises-a-plus'
*
* 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 '@types/promises-a-plus' {
declare module.exports: any;
}
18 changes: 18 additions & 0 deletions flow-typed/npm/@types/sinon_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// flow-typed signature: c3724d10bbfe950c80d33cf06a6a1add
// flow-typed version: <<STUB>>/@types/sinon_v^2.1.0/flow_v0.48.0

/**
* This is an autogenerated libdef stub for:
*
* '@types/sinon'
*
* 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 '@types/sinon' {
declare module.exports: any;
}
32 changes: 32 additions & 0 deletions flow-typed/npm/benchmark_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// flow-typed signature: 1e60658c3fa312b7b1583b1bdb3b72a4
// flow-typed version: <<STUB>>/benchmark_v^2.1.3/flow_v0.48.0

/**
* This is an autogenerated libdef stub for:
*
* 'benchmark'
*
* 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 'benchmark' {
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 'benchmark/benchmark' {
declare module.exports: any;
}

// Filename aliases
declare module 'benchmark/benchmark.js' {
declare module.exports: $Exports<'benchmark/benchmark'>;
}
Loading