mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Merge pull request #18922 from iRoachie/rn-share
[react-native] Make share options optional
This commit is contained in:
commit
142a2fc41c
2
types/react-native/index.d.ts
vendored
2
types/react-native/index.d.ts
vendored
@ -6554,7 +6554,7 @@ export interface ShareStatic {
|
||||
* - `dialogTitle`
|
||||
*
|
||||
*/
|
||||
share(content: ShareContent, options: ShareOptions): Promise<Object>
|
||||
share(content: ShareContent, options?: ShareOptions): Promise<Object>
|
||||
sharedAction: string
|
||||
dismissedAction: string
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user