mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
caa8dbf0e9
Summary: This pull request simplifies the type and fixes a TypeScript object destructuring problem by combining the ShareSharedAction and ShareDismissedAction types into a single ShareAction type. Enabling proper access to the activityType property without TypeScript errors. ## Changelog: [INTERNAL] [FIXED] - Unified ShareSharedAction and ShareDismissedAction into ShareAction. Resolved TypeScript issue with object destructuring. Pull Request resolved: https://github.com/facebook/react-native/pull/38351 Test Plan: With the current typing:  With the proposed solution:  Reviewed By: NickGerleman Differential Revision: D47527426 Pulled By: philIip fbshipit-source-id: 9830cd993596bbac2dc07d9f37ca20b35f582156