@@ -299,7 +299,7 @@ export interface UnsafeAnyTypeAnnotation {
299299 readonly type : 'AnyTypeAnnotation' ,
300300}
301301
302- export interface NativeModuleNumberLiteralTypeAnnotation {
302+ export interface NumberLiteralTypeAnnotation {
303303 readonly type : 'NumberLiteralTypeAnnotation' ;
304304 readonly value : number ;
305305}
@@ -308,14 +308,14 @@ export interface NativeModuleStringTypeAnnotation {
308308 readonly type : 'StringTypeAnnotation' ;
309309}
310310
311- export interface NativeModuleStringLiteralTypeAnnotation {
311+ export interface StringLiteralTypeAnnotation {
312312 readonly type : 'StringLiteralTypeAnnotation' ;
313313 readonly value : string ;
314314}
315315
316316export interface StringLiteralUnionTypeAnnotation {
317317 readonly type : 'StringLiteralUnionTypeAnnotation' ;
318- readonly types : NativeModuleStringLiteralTypeAnnotation [ ] ;
318+ readonly types : StringLiteralTypeAnnotation [ ] ;
319319}
320320
321321export interface NativeModuleNumberTypeAnnotation {
@@ -340,7 +340,7 @@ export interface NativeModuleBooleanTypeAnnotation {
340340
341341export type NativeModuleEnumMember = {
342342 readonly name : string ;
343- readonly value : NativeModuleStringLiteralTypeAnnotation | NativeModuleNumberLiteralTypeAnnotation ,
343+ readonly value : StringLiteralTypeAnnotation | NumberLiteralTypeAnnotation ,
344344} ;
345345
346346export type NativeModuleEnumMemberType =
@@ -398,9 +398,9 @@ export type NativeModuleEventEmitterBaseTypeAnnotation =
398398 | NativeModuleFloatTypeAnnotation
399399 | NativeModuleInt32TypeAnnotation
400400 | NativeModuleNumberTypeAnnotation
401- | NativeModuleNumberLiteralTypeAnnotation
401+ | NumberLiteralTypeAnnotation
402402 | NativeModuleStringTypeAnnotation
403- | NativeModuleStringLiteralTypeAnnotation
403+ | StringLiteralTypeAnnotation
404404 | StringLiteralUnionTypeAnnotation
405405 | NativeModuleTypeAliasTypeAnnotation
406406 | NativeModuleGenericObjectTypeAnnotation
@@ -412,10 +412,10 @@ export type NativeModuleEventEmitterTypeAnnotation =
412412
413413export type NativeModuleBaseTypeAnnotation =
414414 NativeModuleStringTypeAnnotation
415- | NativeModuleStringLiteralTypeAnnotation
415+ | StringLiteralTypeAnnotation
416416 | StringLiteralUnionTypeAnnotation
417417 | NativeModuleNumberTypeAnnotation
418- | NativeModuleNumberLiteralTypeAnnotation
418+ | NumberLiteralTypeAnnotation
419419 | NativeModuleInt32TypeAnnotation
420420 | NativeModuleDoubleTypeAnnotation
421421 | NativeModuleFloatTypeAnnotation
0 commit comments