refactor(plugins): replace types in plugin files

This commit is contained in:
Ibrahim Hadeed
2016-06-11 11:07:19 -04:00
parent 0dc03be96b
commit ab52c91f47
7 changed files with 102 additions and 124 deletions
+11 -3
View File
@@ -1,7 +1,5 @@
import {Plugin, Cordova} from './plugin';
import {Email} from './types/email.type';
declare var cordova;
declare var cordova: any;
/**
* @name Email Composer
* @description
@@ -85,3 +83,13 @@ export class EmailComposer {
static open(email: Email, scope?: any): Promise<any> {return; }
}
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;
}