react-native-branch-deep-linking-attribution icon indicating copy to clipboard operation
react-native-branch-deep-linking-attribution copied to clipboard

Type definitions are wrong

Open mmclafferty opened this issue 3 years ago • 1 comments

Hello, I am on the latest. react-native-branch 5.0.4 and ran into a few issues with typescript.

createBranchUniversalObject is supposed to return a promise. The object it returns has a function called showShareSheet which is also supposed to return a promise with some data.

mmclafferty avatar Aug 20 '21 21:08 mmclafferty

Please fix this, its a minor thing but causes issues with Typescript and code scans, interface should probably be updated to return Promise<BranchUniversalObject>

adammarr avatar Oct 20 '21 16:10 adammarr