mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
c6b8c75b6b
commit
0d748cf8bb
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user