-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…#35343) Summary: This PR should solve the `"Circular Dependencies"` problem/issue because of which some PRs are getting blocked as discussed here #35288 (comment) - also moved below helpers to `parsers-commons.js`; - `getTypeAnnotationParameters` - `getFunctionNameFromParameter` - `getParameterName` - `getParameterTypeAnnotation` - `getTypeAnnotationReturnType` <3 ## Changelog [INTERNAL] [CHANGED] - Moved `translateFunctionTypeAnnotation` fn from `parsers-primitives.js` to `parsers-commons.js` also, moved it's helpers Pull Request resolved: #35343 Test Plan: - ensure 👇 is `#00ff00` `yarn lint && yarn flow && yarn test-ci` Reviewed By: christophpurrer Differential Revision: D41273191 Pulled By: rshest fbshipit-source-id: cc1839a91579e7914f05516a90b280a776510c9d
- Loading branch information
1 parent
49d5e7c
commit adee7be
Showing
4 changed files
with
149 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters