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