You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Read the language specification ([docx](http://go.microsoft.com/fwlink/?LinkId=267121), [pdf](http://go.microsoft.com/fwlink/?LinkId=267238)).
33
+
* Read the language specification ([docx](https://github.com/Microsoft/TypeScript/blob/master/doc/TypeScript%20Language%20Specification.docx?raw=true), [pdf](https://github.com/Microsoft/TypeScript/blob/master/doc/TypeScript%20Language%20Specification.pdf?raw=true), [md](https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md)).
Copy file name to clipboardExpand all lines: lib/lib.d.ts
+32-4Lines changed: 32 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3881,7 +3881,7 @@ declare module Intl {
3881
3881
currency?: string;
3882
3882
currencyDisplay?: string;
3883
3883
useGrouping?: boolean;
3884
-
minimumintegerDigits?: number;
3884
+
minimumIntegerDigits?: number;
3885
3885
minimumFractionDigits?: number;
3886
3886
maximumFractionDigits?: number;
3887
3887
minimumSignificantDigits?: number;
@@ -3894,7 +3894,7 @@ declare module Intl {
3894
3894
style: string;
3895
3895
currency?: string;
3896
3896
currencyDisplay?: string;
3897
-
minimumintegerDigits: number;
3897
+
minimumIntegerDigits: number;
3898
3898
minimumFractionDigits: number;
3899
3899
maximumFractionDigits: number;
3900
3900
minimumSignificantDigits?: number;
@@ -3928,6 +3928,7 @@ declare module Intl {
3928
3928
timeZoneName?: string;
3929
3929
formatMatcher?: string;
3930
3930
hour12?: boolean;
3931
+
timeZone?: string;
3931
3932
}
3932
3933
3933
3934
interface ResolvedDateTimeFormatOptions {
@@ -3997,18 +3998,45 @@ interface Number {
3997
3998
3998
3999
interface Date {
3999
4000
/**
4000
-
* Converts a date to a string by using the current or specified locale.
4001
+
* Converts a date and time to a string by using the current or specified locale.
4001
4002
* @param locales An array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
4002
4003
* @param options An object that contains one or more properties that specify comparison options.
* Converts a date to a string by using the current or specified locale.
4008
+
* @param locales An array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
4009
+
* @param options An object that contains one or more properties that specify comparison options.
Copy file name to clipboardExpand all lines: lib/lib.dom.d.ts
+32-4Lines changed: 32 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ declare module Intl {
57
57
currency?: string;
58
58
currencyDisplay?: string;
59
59
useGrouping?: boolean;
60
-
minimumintegerDigits?: number;
60
+
minimumIntegerDigits?: number;
61
61
minimumFractionDigits?: number;
62
62
maximumFractionDigits?: number;
63
63
minimumSignificantDigits?: number;
@@ -70,7 +70,7 @@ declare module Intl {
70
70
style: string;
71
71
currency?: string;
72
72
currencyDisplay?: string;
73
-
minimumintegerDigits: number;
73
+
minimumIntegerDigits: number;
74
74
minimumFractionDigits: number;
75
75
maximumFractionDigits: number;
76
76
minimumSignificantDigits?: number;
@@ -104,6 +104,7 @@ declare module Intl {
104
104
timeZoneName?: string;
105
105
formatMatcher?: string;
106
106
hour12?: boolean;
107
+
timeZone?: string;
107
108
}
108
109
109
110
interface ResolvedDateTimeFormatOptions {
@@ -173,18 +174,45 @@ interface Number {
173
174
174
175
interface Date {
175
176
/**
176
-
* Converts a date to a string by using the current or specified locale.
177
+
* Converts a date and time to a string by using the current or specified locale.
177
178
* @param locales An array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
178
179
* @param options An object that contains one or more properties that specify comparison options.
* Converts a date to a string by using the current or specified locale.
184
+
* @param locales An array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
185
+
* @param options An object that contains one or more properties that specify comparison options.
0 commit comments