diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-12-06 18:49:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-06 18:49:34 -0500 |
commit | 68d356eed91731cd0c13eb946f296aa90ef4d5ac (patch) | |
tree | d08389fa2e4a2d6a0c65f312fff17142f80b956d /cli/tsc/dts/lib.es2021.intl.d.ts | |
parent | a931a47511f0f1160f2446a543fed867ea59703b (diff) |
feat: TypeScript 5.3 (#21480)
https://github.com/denoland/TypeScript/pull/9
Diffstat (limited to 'cli/tsc/dts/lib.es2021.intl.d.ts')
-rw-r--r-- | cli/tsc/dts/lib.es2021.intl.d.ts | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/cli/tsc/dts/lib.es2021.intl.d.ts b/cli/tsc/dts/lib.es2021.intl.d.ts index ac9ffdb7e..b464d55d6 100644 --- a/cli/tsc/dts/lib.es2021.intl.d.ts +++ b/cli/tsc/dts/lib.es2021.intl.d.ts @@ -17,10 +17,9 @@ and limitations under the License. /// <reference no-default-lib="true"/> declare namespace Intl { - interface DateTimeFormatPartTypesRegistry { - fractionalSecond: any - } + fractionalSecond: any; + } interface DateTimeFormatOptions { formatMatcher?: "basic" | "best fit" | "best fit" | undefined; @@ -31,7 +30,7 @@ declare namespace Intl { } interface DateTimeRangeFormatPart extends DateTimeFormatPart { - source: "startRange" | "endRange" | "shared" + source: "startRange" | "endRange" | "shared"; } interface DateTimeFormat { @@ -114,7 +113,7 @@ declare namespace Intl { * * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/formatToParts). */ - formatToParts(list: Iterable<string>): { type: "element" | "literal", value: string; }[]; + formatToParts(list: Iterable<string>): { type: "element" | "literal"; value: string; }[]; /** * Returns a new object with properties reflecting the locale and style @@ -144,7 +143,7 @@ declare namespace Intl { * * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat). */ - new(locales?: BCP47LanguageTag | BCP47LanguageTag[], options?: ListFormatOptions): ListFormat; + new (locales?: BCP47LanguageTag | BCP47LanguageTag[], options?: ListFormatOptions): ListFormat; /** * Returns an array containing those of the provided locales that are |