A framework for building native applications using React
Extract UnsupportedObjectPropertyValueTypeAnnotationParserError to a throwing function (#34917)
Summary: This PR is a part of https://github.com/facebook/react-native/issues/34872. Extracted the UnsupportedObjectPropertyValueTypeAnnotationParserError in its own throwing function and reuse that function passing a proper type. ## Changelog [Internal] [Changed] - Extract the UnsupportedObjectPropertyValueTypeAnnotationParserError in its own throwing function and reuse that function passing a proper type. Pull Request resolved: https://github.com/facebook/react-native/pull/34917 Test Plan: Output of yarn jest react-native-codegen. <img width="451" alt="Screenshot 2022-10-10 at 12 55 39 PM" src="https://user-images.githubusercontent.com/32268377/194816863-5220dbaa-3b63-42bf-8e62-9d7b915f7cbd.png"> Reviewed By: cortinico Differential Revision: D40424885 Pulled By: cipolleschi fbshipit-source-id: 08d4d13ee3959391261fe13c190a4bb893970757
D
dhruvtailor7 committed
aba6be694ee9d804877097f6a68248ef9259849b
Parent: aeab383
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 10/19/2022, 8:38:28 AM