refactor(emailcomposer): create new file for the Email type

addresses #168
This commit is contained in:
Ibrahim Hadeed 2016-05-20 14:08:25 -04:00
parent 2a568d2398
commit 21ffe99226
2 changed files with 14 additions and 15 deletions

View File

@ -1,21 +1,7 @@
import {Plugin, Cordova} from './plugin';
import {Email} from './types/email.type.ts';
declare var cordova;
/**
* Email object for Opening Email Composer
*/
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;
}
/**
* @name Email Composer
* @description

View File

@ -0,0 +1,13 @@
/**
* Email object for Opening Email Composer
*/
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;
}