Skip to content

Commit

Permalink
Add flow-typed folder to flow test folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ellbee committed Jul 13, 2016
1 parent 4c3bb1d commit 6ba7797
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 0 additions & 2 deletions flow_test/.flowconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
[ignore]
.*/lib/.*

[include]

[libs]
decls

[options]
File renamed without changes.
File renamed without changes.
7 changes: 5 additions & 2 deletions flow_test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ const { createSelector } = reselect;
const s = createSelector(
(state: {x: number}) : number => state.x,
(state: {y: number}) : number => state.y,
(x: number, y: number) => {
(x, y) => {
return x + y
}
)

const a = s({x: 100, y: 200})
const a = s({x: 100, y: "200"})

// Packaging issues
// https://github.com/facebook/nuclide/issues/529

0 comments on commit 6ba7797

Please sign in to comment.