Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update globalize/globalize.d.ts

cultureSelector in the localize function is an optional parameter
  • Loading branch information...
commit b9d128f1c8ea2fee8360b5c96d5d6f72aa1f9758 1 parent 77b4830
@jodonoghue-avoca jodonoghue-avoca authored vbortone committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 globalize/globalize.d.ts
View
4 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;
Please sign in to comment.
Something went wrong with that request. Please try again.