diff --git a/modules/@angular/facade/src/intl.ts b/modules/@angular/facade/src/intl.ts index 58370f7abd..2e75bb8bf6 100644 --- a/modules/@angular/facade/src/intl.ts +++ b/modules/@angular/facade/src/intl.ts @@ -1,46 +1,3 @@ - -// Modified version of internal Typescript intl.d.ts. -// TODO(piloopin): remove when https://github.com/Microsoft/TypeScript/issues/3521 is shipped. -declare module Intl { - interface NumberFormatOptions { - localeMatcher?: string; - style?: string; - currency?: string; - currencyDisplay?: string; - useGrouping?: boolean; - minimumIntegerDigits?: number; - minimumFractionDigits?: number; - maximumFractionDigits?: number; - } - - interface NumberFormat { - format(value: number): string; - } - - var NumberFormat: {new (locale?: string, options?: NumberFormatOptions): NumberFormat}; - - interface DateTimeFormatOptions { - localeMatcher?: string; - weekday?: string; - era?: string; - year?: string; - month?: string; - day?: string; - hour?: string; - minute?: string; - second?: string; - timeZoneName?: string; - formatMatcher?: string; - hour12?: boolean; - } - - interface DateTimeFormat { - format(date?: Date | number): string; - } - - var DateTimeFormat: {new (locale?: string, options?: DateTimeFormatOptions): DateTimeFormat}; -} - export enum NumberFormatStyle { Decimal, Percent,