Permalink
Browse files

Update globalize/globalize.d.ts

cultureSelector in the localize function is an optional parameter
  • Loading branch information...
1 parent 77b4830 commit b9d128f1c8ea2fee8360b5c96d5d6f72aa1f9758 @jodonoghue-avoca jodonoghue-avoca committed with vbortone Jan 25, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 globalize/globalize.d.ts
@@ -110,11 +110,11 @@ class GlobalizeStatic {
addCultureInfo(cultureName, baseCultureName, info? );
findClosestCulture(cultureSelector: string);
format(value, format, cultureSelector? );
- localize(key, cultureSelector);
+ localize(key, cultureSelector?);
parseDate(value: string, formats? , cultureSelector?: string): Date;
parseInt(value: string, radix? , cultureSelector?: string): number;
parseFloat(value: string, radix? , cultureSelector?: string): number;
}
-declare var Globalize: GlobalizeStatic;
+declare var Globalize: GlobalizeStatic;

0 comments on commit b9d128f

Please sign in to comment.