Skip to content

Commit 9eb8efc

Browse files
authored
Merge pull request #644 from nasmuris/master
fix BranchUniversalObject.generateShortUrl type
2 parents d40c19b + 1c0eb78 commit 9eb8efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ interface BranchUniversalObject {
286286
generateShortUrl: (
287287
linkProperties: BranchLinkProperties,
288288
controlParams: BranchLinkControlParams
289-
) => void;
289+
) => Promise<{ url: string }>;
290290
logEvent: (eventName: string, params?: BranchEventParams) => Promise<null>;
291291
release: () => void;
292292
}

0 commit comments

Comments
 (0)