Skip to content

Commit

Permalink
fix Flow typing
Browse files Browse the repository at this point in the history
As done on DrawerLayoutAndroid
  • Loading branch information
hduprat committed May 19, 2022
1 parent 9680c57 commit 8634189
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@

const React = require('react');
const View = require('../../View/View');
const InputAccessoryView = require('../InputAccessoryView');
/* $FlowFixMe[cannot-resolve-module] (>=0.99.0 site=react_native_ios_fb) This
* comment suppresses an error found when Flow v0.99 was deployed. To see the
* error, delete this comment and run Flow. */
const InputAccessoryView = require('../InputAccessoryView.ios');
const render = require('../../../../jest/renderer');

describe('<InputAccessoryView />', () => {
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ module.exports = {
get ImageBackground(): ImageBackground {
return require('./Libraries/Image/ImageBackground');
},
// $FlowFixMe[value-as-type]
get InputAccessoryView(): InputAccessoryView {
return require('./Libraries/Components/TextInput/InputAccessoryView');
},
Expand Down

0 comments on commit 8634189

Please sign in to comment.