Skip to content

Commit 5d06c74

Browse files
charpenifacebook-github-bot
authored andcommitted
Replace our local types by flow-typed (react#20320)
Summary: These comments were confusing since we don't use flow-typed. cc bvaughn. I have replaced our local types by flow-typed, removed metro custom stub and deleted `flow-github` directory. As result, createReactClass, PropTypes and Metro types won't be distributed to RN users. If you need it, you should relay on flow-typed. Pull Request resolved: react#20320 Reviewed By: TheSavior Differential Revision: D13517157 Pulled By: rickhanlonii fbshipit-source-id: e52c0b6114114a706f6152b2031c600e3dece0d2
1 parent 60ff279 commit 5d06c74

8 files changed

Lines changed: 1068 additions & 21 deletions

File tree

.flowconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
[libs]
3232
Libraries/react-native/react-native-interface.js
3333
flow/
34-
flow-github/
3534

3635
[options]
3736
emoji=true

.flowconfig.android

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
[libs]
3232
Libraries/react-native/react-native-interface.js
3333
flow/
34-
flow-github/
3534

3635
[options]
3736
emoji=true

flow-github/metro.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

flow/create-react-class.js renamed to flow-typed/npm/create-react-class_v15.x.x.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
* @nolint
1010
*/
1111

12-
// TODO (acdlite) Remove this file once flowtype/flow-typed/pull/773 is merged
12+
// flow-typed signature: 892fd8dcd3f17e76da4fb1334b0fd49e
13+
// flow-typed version: da30fe6876/create-react-class_v15.x.x/flow_>=v0.41.x
1314

1415
declare module 'create-react-class' {
1516
declare module.exports: React$CreateClass;

0 commit comments

Comments
 (0)