Skip to content

Commit

Permalink
fix(plugin): fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed committed Mar 13, 2016
1 parent 21dba10 commit c86e135
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/globalization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class Globalization {
@Cordova({
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
Expand Down Expand Up @@ -117,6 +117,6 @@ export class Globalization {
* @param currencyCode
*/
@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}

}

0 comments on commit c86e135

Please sign in to comment.