mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
fix(plugin): fix types
This commit is contained in:
parent
21dba101f1
commit
c86e135096
@ -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
|
||||
@ -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}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user