Merge pull request #49 from driftyco/fix-glob

fix(plugin): fix types
This commit is contained in:
Ibrahim Hadeed 2016-03-13 15:38:20 -04:00
commit 5e2f201fcd

View File

@ -67,7 +67,7 @@ export class Globalization {
@Cordova({ @Cordova({
callbackOrder: 'reverse' callbackOrder: 'reverse'
}) })
static getDateNames(options:{type,item}) : Promise<{value:Array<string>}> {return} static getDateNames(options:{type:string,item:string}) : Promise<{value:Array<string>}> {return}
/** /**
* Check if day light saving is active * Check if day light saving is active
@ -117,6 +117,6 @@ export class Globalization {
* @param currencyCode * @param currencyCode
*/ */
@Cordova() @Cordova()
static getCurrencyPattern(currencyCode:string) : Promise<{pattern, code, fraction, rounding, decimal, grouping}> {return} static getCurrencyPattern(currencyCode:string) : Promise<{pattern:string, code:string, fraction:number, rounding:number, decimal:number, grouping:string}> {return}
} }