File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -276,13 +276,25 @@ interface BranchLinkControlParams {
276276 $samsung_url ?: string ;
277277}
278278
279+ interface BranchShareSuccess {
280+ completed : true ;
281+ error : null ;
282+ channel : string ;
283+ }
284+
285+ interface BranchShareFailure {
286+ completed : false ;
287+ error : null | string ;
288+ channel : null ;
289+ }
290+
279291interface BranchUniversalObject {
280292 ident : string ;
281293 showShareSheet : (
282294 shareOptions ?: BranchShareSheetOptions ,
283295 linkProperties ?: BranchLinkProperties ,
284296 controlParams ?: BranchLinkControlParams
285- ) => void ;
297+ ) => Promise < BranchShareSuccess | BranchShareFailure > ;
286298 generateShortUrl : (
287299 linkProperties : BranchLinkProperties ,
288300 controlParams : BranchLinkControlParams
You can’t perform that action at this time.
0 commit comments