From 1072ab115b382cb35df737ca4c00e305c0c2ed25 Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Tue, 29 Nov 2016 14:28:26 -0500 Subject: [PATCH] fix(globalization): add missing parameter to numberToString function closes #835 --- src/plugins/globalization.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; } /** *