Files
react-native/Libraries
Paul Mandel 305ca337c0 Adding AlertOptions to ts Alert.prompt function (#35957)
Summary:
Bringing the typescript function signature in-line with the js code.

## Changelog

[GENERAL] [FIXED] - Added AlertOptions argument to the type definition for Alert.prompt to bring it into parity with the js code.

<!-- Help reviewers and the release process by writing your own changelog entry.

Pick one each for the category and type tags:

For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

Pull Request resolved: https://github.com/facebook/react-native/pull/35957

Test Plan: Before the change, VS Code would show a typescript error when I pass AlertOptions to Alert.prompt (even though the js would execute successfully and respect the options I passed. After the change, when I use an Alert.prompt in VS code the function signature was recognized without errors.

Reviewed By: christophpurrer

Differential Revision: D42737818

Pulled By: jacdebug

fbshipit-source-id: 4d4318f38f5c7b7302aae62de5ce224db67e088a
2023-01-25 02:14:45 -08:00
..
2022-09-30 14:28:48 -07:00
2023-01-03 18:09:06 -08:00
2023-01-23 07:38:48 -08:00
2022-09-30 14:28:48 -07:00
2023-01-23 07:38:48 -08:00
2023-01-23 07:38:48 -08:00
2022-09-30 14:28:48 -07:00
2022-09-30 14:28:48 -07:00
2023-01-18 08:21:49 -08:00
2023-01-03 18:09:06 -08:00
2022-09-30 14:28:48 -07:00
2023-01-03 18:09:06 -08:00
2023-01-03 18:09:06 -08:00
2022-09-30 14:28:48 -07:00
2022-12-06 19:34:14 -08:00
2022-12-06 19:34:14 -08:00
2023-01-03 18:09:06 -08:00
2022-11-02 14:58:37 -07:00
2023-01-03 18:09:06 -08:00
2023-01-19 14:04:23 -08:00