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:
Eli White
2024-08-29 10:51:31 -07:00
committed by Facebook GitHub Bot
parent a5363113f1
commit 84ec424e8a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -379,7 +379,7 @@ export type NativeModuleEventEmitterTypeAnnotation =
| NativeModuleEventEmitterBaseTypeAnnotation
| {
readonly type: 'ArrayTypeAnnotation';
readonly elementType: NativeModuleEventEmitterBaseTypeAnnotation | { type: string };
readonly elementType: NativeModuleEventEmitterBaseTypeAnnotation;
};
export type NativeModuleBaseTypeAnnotation =
+1 -1
View File
@@ -365,7 +365,7 @@ export type NativeModuleEventEmitterTypeAnnotation =
| NativeModuleEventEmitterBaseTypeAnnotation
| {
type: 'ArrayTypeAnnotation',
elementType: NativeModuleEventEmitterBaseTypeAnnotation | {type: string},
elementType: NativeModuleEventEmitterBaseTypeAnnotation,
};
export type NativeModuleBaseTypeAnnotation =