mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Presuppress Flow errors for 0.206 in fbsource (#37390)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37390 X-link: https://github.com/facebook/react-fbsource-import/pull/4 Changelog: [Internal] Reviewed By: SamChou19815 Differential Revision: D45756542 fbshipit-source-id: 255e02362aba9a41ab8e9588127db7b2752f481d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
98f6e75720
commit
6392b5320c
+2
-1
@@ -7,7 +7,7 @@
|
||||
* @noformat
|
||||
* @flow strict-local
|
||||
* @nolint
|
||||
* @generated SignedSource<<ce82e8957367bee7d11379ab88e3f7c5>>
|
||||
* @generated SignedSource<<1b39316520f5af25f0a141d7d78b0809>>
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
@@ -108,6 +108,7 @@ exports.get = function (name: string): ViewConfig {
|
||||
'View config getter callback for component `%s` must be a function (received `%s`).%s',
|
||||
name,
|
||||
callback === null ? 'null' : typeof callback,
|
||||
// $FlowFixMe[recursive-definition]
|
||||
typeof name[0] === 'string' && /[a-z]/.test(name[0])
|
||||
? ' Make sure to start component names with a capital letter.'
|
||||
: '',
|
||||
|
||||
Reference in New Issue
Block a user