[No QA][TS migration] Migrate 'react-native-key-command.js' mock to TypeScript#35411
Conversation
| const registerKeyCommands = () => {}; | ||
| const unregisterKeyCommands = () => {}; |
There was a problem hiding this comment.
What about these functions? Should we add them to react-native-key-command.d.ts and add typing in this file?
There was a problem hiding this comment.
Yes, let's add them to react-native-key-command.d.ts @kubabutkiewicz
…s-migration/react-native-key-command
There was a problem hiding this comment.
How about following this model for this PR too? A ReactNativeKeyCommandMock type, etc..
There was a problem hiding this comment.
We cant do that , refactoring to that make that tests are failing
…s-migration/react-native-key-command
Reviewer Checklist
Screenshots/Videos |
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #25235 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.41-12 🚀
|

Details
Fixed Issues
$ #25235
Tests
npm run testOffline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop