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:
Ramanpreet Nara
2020-11-05 18:30:08 -08:00
committed by Facebook GitHub Bot
parent 688caa0bdc
commit 04f235e7fb
6 changed files with 23 additions and 23 deletions
@@ -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 [