fix email type import

This commit is contained in:
Ibrahim Hadeed 2016-05-20 15:04:11 -04:00
parent 21ffe99226
commit eed8cb1b1d
2 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
import {Plugin, Cordova} from './plugin';
import {Email} from './types/email.type.ts';
import {Email} from './types/email.type';
declare var cordova;
/**

View File

@ -3,11 +3,11 @@
*/
export interface Email {
app?: string;
to: string | Array<string>;
cc: string | Array<string>;
bcc: string | Array<string>;
attachments: Array<any>;
subject: string;
body: string;
isHtml: boolean;
to?: string | Array<string>;
cc?: string | Array<string>;
bcc?: string | Array<string>;
attachments?: Array<any>;
subject?: string;
body?: string;
isHtml?: boolean;
}