mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
pre-suppress this typing errors ahead of 154
Summary: This pre-suppresses the 154 error diff ahead of its release, since it is large. Changelog: [Internal] Reviewed By: samwgoldman Differential Revision: D29065246 fbshipit-source-id: f418041305a46df410dcbe3d9a4db81a61ac7014
This commit is contained in:
1 parent
050922a17e
commit
974f0a3281
20 files changed
+57
No files matched your search
Vendored
+2
@@ -144,6 +144,7 @@ function serializeMethod(
|
||||
/**
|
||||
* Build ObjC Selector
|
||||
*/
|
||||
// $FlowFixMe[missing-type-arg]
|
||||
const selector = methodParams
|
||||
.map<string>(({paramName}) => paramName)
|
||||
.reduce(($selector, paramName, i) => {
|
||||
@@ -422,6 +423,7 @@ function serializeConstantsProtocolMethods(
|
||||
|
||||
const returnObjCType = `facebook::react::ModuleConstants<JS::${hasteModuleName}::Constants::Builder>`;
|
||||
|
||||
// $FlowFixMe[missing-type-arg]
|
||||
return ['constantsToExport', 'getConstants'].map<MethodSerializationOutput>(
|
||||
methodName => {
|
||||
const protocolMethod = ProtocolMethodTemplate({
|
||||
|
||||
Reference in new issue
Block a user