Skip to content

Commit 1b82f3a

Browse files
Add BooleanLiteralTypeAnnotation to the NativeModuleBaseTypeAnnotation in Flow
Summary: Just as `NumberLiteralTypeAnnotation` was part of the `NativeModuleBaseTypeAnnotation` in Flow, adding the `BooleanLiteralTypeAnnotation` NOTE: Didn't add this change for TS as both `NumberLiteralTypeAnnotation` was not included as part of `NativeModuleBaseTypeAnnotation` in TS, also the generators were not failing in TS for this. Changelog: [Internal] Differential Revision: D87392274
1 parent 813e10d commit 1b82f3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-native-codegen/src/CodegenSchema.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ export type NativeModuleBaseTypeAnnotation =
432432
| StringLiteralUnionTypeAnnotation
433433
| NativeModuleNumberTypeAnnotation
434434
| NumberLiteralTypeAnnotation
435+
| BooleanLiteralTypeAnnotation
435436
| Int32TypeAnnotation
436437
| DoubleTypeAnnotation
437438
| FloatTypeAnnotation

0 commit comments

Comments
 (0)