diff --git a/src/plugins/globalization.ts b/src/plugins/globalization.ts index 172ba6c672..fe4f880d54 100644 --- a/src/plugins/globalization.ts +++ b/src/plugins/globalization.ts @@ -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; } /** *