mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
36 lines
555 B
TypeScript
36 lines
555 B
TypeScript
import Share from 'react-native-share';
|
|
|
|
// $ExpectType Promise<any>
|
|
Share.open({
|
|
url: '',
|
|
message: '',
|
|
});
|
|
|
|
// $ExpectType Promise<any>
|
|
Share.open({
|
|
url: '',
|
|
type: '',
|
|
message: '',
|
|
title: '',
|
|
subject: '',
|
|
excludedActivityTypes: '',
|
|
showAppsToview: true,
|
|
});
|
|
|
|
// $ExpectType Promise<any>
|
|
Share.shareSingle({
|
|
url: '',
|
|
message: '',
|
|
social: 'facebook',
|
|
});
|
|
|
|
// $ExpectType Promise<any>
|
|
Share.shareSingle({
|
|
url: '',
|
|
type: '',
|
|
message: '',
|
|
title: '',
|
|
subject: '',
|
|
social: 'facebook',
|
|
});
|