Skip to content

Commit 863736d

Browse files
committed
Update flow
1 parent 628c119 commit 863736d

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

.flowconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[ignore]
2-
.*dist/.*
2+
<PROJECT_ROOT>/dist/.*
3+
.*/__tests__/.*
4+
.*/__mocks__/.*
35

46
[include]
7+
src/
58

69
[libs]
710

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"eslint": "^5.7.0",
5959
"eslint-config-prettier": "^3.1.0",
6060
"eslint-plugin-prettier": "^3.0.0",
61-
"flow-bin": "^0.83.0",
61+
"flow-bin": "^0.87.0",
6262
"jest": "^23.6.0",
6363
"jest-diff": "^23.6.0",
6464
"jest-matcher-utils": "^23.6.0",

src/parse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default function parse(
6666
}
6767
return executeHandlers(handlers, componentDefinitions);
6868
} else if (componentDefinitions) {
69-
return executeHandlers(handlers, [(componentDefinitions: NodePath)])[0];
69+
return executeHandlers(handlers, [componentDefinitions])[0];
7070
}
7171

7272
throw new Error(ERROR_MISSING_DEFINITION);

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1984,10 +1984,10 @@ flat-cache@^1.2.1:
19841984
graceful-fs "^4.1.2"
19851985
write "^0.2.1"
19861986

1987-
flow-bin@^0.83.0:
1988-
version "0.83.0"
1989-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.83.0.tgz#fd26f5f95758d7701264b3f9a1e1a3d4cbcab1a9"
1990-
integrity sha512-1K83EL/U9Gh0BaXPKkZe6TRizSmNSKx9Wuws1c8gh7DJEwiburtCxYT+4o7in1+GnNEm3CZWnbnVV8n9HMpiDA==
1987+
flow-bin@^0.87.0:
1988+
version "0.87.0"
1989+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.87.0.tgz#fab7f984d8cc767e93fa9eb01cf7d57ed744f19d"
1990+
integrity sha512-mnvBXXZkUp4y6A96bR5BHa3q1ioIIN2L10w5osxJqagAakTXFYZwjl0t9cT3y2aCEf1wnK6n91xgYypQS/Dqbw==
19911991

19921992
for-in@^1.0.1, for-in@^1.0.2:
19931993
version "1.0.2"

0 commit comments

Comments
 (0)