mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove superflous {type:string} from CodegenSchema (#46237)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46237 I can't find any uses of this, it's not referenced in any fixtures, and flow and typescript both pass without it. Changelog: [Internal] Reviewed By: makovkastar Differential Revision: D61892355 fbshipit-source-id: 8ebb4da3e104109c740d90c2495dbcc89d3978e5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a5363113f1
commit
84ec424e8a
+1
-1
@@ -379,7 +379,7 @@ export type NativeModuleEventEmitterTypeAnnotation =
|
||||
| NativeModuleEventEmitterBaseTypeAnnotation
|
||||
| {
|
||||
readonly type: 'ArrayTypeAnnotation';
|
||||
readonly elementType: NativeModuleEventEmitterBaseTypeAnnotation | { type: string };
|
||||
readonly elementType: NativeModuleEventEmitterBaseTypeAnnotation;
|
||||
};
|
||||
|
||||
export type NativeModuleBaseTypeAnnotation =
|
||||
|
||||
+1
-1
@@ -365,7 +365,7 @@ export type NativeModuleEventEmitterTypeAnnotation =
|
||||
| NativeModuleEventEmitterBaseTypeAnnotation
|
||||
| {
|
||||
type: 'ArrayTypeAnnotation',
|
||||
elementType: NativeModuleEventEmitterBaseTypeAnnotation | {type: string},
|
||||
elementType: NativeModuleEventEmitterBaseTypeAnnotation,
|
||||
};
|
||||
|
||||
export type NativeModuleBaseTypeAnnotation =
|
||||
|
||||
Reference in New Issue
Block a user