Added empty overload for email()

This commit is contained in:
Paito Anderson 2017-12-28 15:02:16 -05:00
parent 7cadcdc866
commit 6ba8518b44
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@
// TypeScript Version: 2.3
export function phonecall(phoneNumber: string, isPrompt: boolean): void;
export function email(): void;
export function email(to: string[] | null, cc: string[]| null, bcc: string[] | null, subject: string | null, body: string | null): void;
export function text(phoneNumber?: string | null, body?: string | null): void;
export function textWithoutEncoding(phoneNumber?: string | null, body?: string | null): void;

View File

@ -2,6 +2,7 @@ import { phonecall, email, text, textWithoutEncoding, web } from 'react-native-c
phonecall('123456789', true);
email();
email(['a@example.com'], null, ['a@example.com'], 'subject', null);
text();