fix(globalization): add missing parameter to numberToString function

closes #835
This commit is contained in:
Ibby Hadeed 2016-11-29 14:28:26 -05:00
parent efb2ee7880
commit 1072ab115b

View File

@ -93,13 +93,14 @@ export class Globalization {
/**
* Returns a number formatted as a string according to the client's user preferences.
* @param options
* @param number {Number} The number to convert
* @param options {Object} Object with property `type` that can be set to: decimal, percent, or currency.
*/
@Cordova({
successIndex: 1,
errorIndex: 2
})
static numberToString(options: { type: string }): Promise<{ value: string }> { return; }
static numberToString(number: number, options: { type: string }): Promise<{ value: string }> { return; }
/**
*