diff --git a/packages/react-native-codegen/src/parsers/parsers-primitives.js b/packages/react-native-codegen/src/parsers/parsers-primitives.js index a7f3ea2f7ce..51340384b80 100644 --- a/packages/react-native-codegen/src/parsers/parsers-primitives.js +++ b/packages/react-native-codegen/src/parsers/parsers-primitives.js @@ -665,6 +665,7 @@ function emitCommonTypes( MixedTypeAnnotation: cxxOnly ? emitMixed : emitGenericObject, UnsafeMixed: cxxOnly ? emitMixed : emitGenericObject, unknown: cxxOnly ? emitMixed : emitGenericObject, + UnknownTypeAnnotation: cxxOnly ? emitMixed : emitGenericObject, }; const typeAnnotationName = parser.convertKeywordToTypeAnnotation(