Rename NativeModulePropertySchema -> NativeModulePropertyShape

Summary:
Everywhere else in the CodegenSchema, type annotation partials are suffixed with "Shape". In the NativeModule schema, we were using the suffix "Schema". In this diff, we standardize on the "Shape" suffix.

Changelog: [Internal]

Reviewed By: yungsters

Differential Revision: D24719395

fbshipit-source-id: 307935f5fe0681c31cd52e9cf4ae579f61c1ae68
This commit is contained in:
Ramanpreet Nara
2020-11-05 18:30:08 -08:00
committed by Facebook GitHub Bot
parent c6b8c75b6b
commit 0d748cf8bb
6 changed files with 18 additions and 18 deletions
@@ -12,9 +12,9 @@
import type {
SchemaType,
NativeModulePropertySchema,
Nullable,
NamedShape,
NativeModulePropertyShape,
NativeModuleFunctionTypeAnnotation,
NativeModuleParamTypeAnnotation,
} from '../../CodegenSchema';
@@ -161,7 +161,7 @@ function serializeArg(
function serializePropertyIntoHostFunction(
hasteModuleName: string,
property: NativeModulePropertySchema,
property: NativeModulePropertyShape,
resolveAlias: AliasResolver,
): string {
const [