Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: This PR is a part of #34872 This PR extracts Extract the `nullGuard` function ([Flow](https://github.com/facebook/react-native/blob/main/packages/react-native-codegen/src/parsers/typescript/modules/index.js#L74-L76), [TypeScript](https://github.com/facebook/react-native/blob/main/packages/react-native-codegen/src/parsers/typescript/modules/index.js#L74-L76)) into a function in the `parsers-utils.js` file ## Changelog [Internal] [Changed] - Extracted `nullGuard` function from flow and typescript to a file `parsers-utils.js`. Pull Request resolved: #34952 Test Plan: yarn jest react-native-codegen <img width="1042" alt="Screenshot 2022-10-12 at 12 52 02 PM" src="https://user-images.githubusercontent.com/22423684/195277414-dc0122f4-603a-4e93-aef1-2ac0c33a960d.png"> Reviewed By: NickGerleman Differential Revision: D40296951 Pulled By: cipolleschi fbshipit-source-id: 4fb305fff2e28025496b65ec697d2a59cff77bde
- Loading branch information