Skip to content

Commit 49765f3

Browse files
committed
fix: missing param type for TS file
1 parent 6523b87 commit 49765f3

File tree

1 file changed

+1
-1
lines changed
  • packages/react-native-codegen/src/parsers

1 file changed

+1
-1
lines changed

packages/react-native-codegen/src/parsers/errors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class UnsupportedArrayElementTypeAnnotationParserError extends ParserError {
180180
constructor(
181181
nativeModuleName: string,
182182
arrayElementTypeAST: $FlowFixMe,
183-
arrayType: 'Array' | '$ReadOnlyArray',
183+
arrayType: 'Array' | '$ReadOnlyArray' | 'ReadonlyArray',
184184
invalidArrayElementType: string,
185185
language: string,
186186
) {

0 commit comments

Comments
 (0)