mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Rename Commands* -> Command*
Summary: The names of events and props flow type annotations are singular. The names of the commands flow types are however plural. This diff renames all "Commands*" flow types to be singular. **Motivation:** Consistency Changelog: [Internal] Reviewed By: yungsters Differential Revision: D24708276 fbshipit-source-id: 5d5d2123426ca1139953169d0ea764b82b2f3809
This commit is contained in:
committed by
Facebook GitHub Bot
parent
688caa0bdc
commit
04f235e7fb
+2
-2
@@ -12,7 +12,7 @@
|
||||
|
||||
import type {
|
||||
NamedShape,
|
||||
CommandsTypeAnnotation,
|
||||
CommandTypeAnnotation,
|
||||
ComponentShape,
|
||||
PropTypeAnnotation,
|
||||
SchemaType,
|
||||
@@ -157,7 +157,7 @@ function getCommandArgJavaType(param) {
|
||||
}
|
||||
|
||||
function getCommandArguments(
|
||||
command: NamedShape<CommandsTypeAnnotation>,
|
||||
command: NamedShape<CommandTypeAnnotation>,
|
||||
componentName: string,
|
||||
): string {
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user