massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-tsserver / node_modules / typescript / lib / lib.es2021.intl.d.ts
1 /*! *****************************************************************************
2 Copyright (c) Microsoft Corporation. All rights reserved.
3 Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4 this file except in compliance with the License. You may obtain a copy of the
5 License at http://www.apache.org/licenses/LICENSE-2.0
6
7 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8 KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9 WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10 MERCHANTABLITY OR NON-INFRINGEMENT.
11
12 See the Apache Version 2.0 License for specific language governing permissions
13 and limitations under the License.
14 ***************************************************************************** */
15
16
17
18 /// <reference no-default-lib="true"/>\r
19
20
21 declare namespace Intl {\r
22 \r
23     interface DateTimeFormatOptions {\r
24         formatMatcher?: "basic" | "best fit" | "best fit" | undefined;\r
25         dateStyle?: "full" | "long" | "medium" | "short" | undefined;\r
26         timeStyle?: "full" | "long" | "medium" | "short" | undefined;\r
27         dayPeriod?: "narrow" | "short" | "long" | undefined;\r
28         fractionalSecondDigits?: 0 | 1 | 2 | 3 | undefined;\r
29     }\r
30 \r
31     interface ResolvedDateTimeFormatOptions {\r
32         formatMatcher?: "basic" | "best fit" | "best fit";\r
33         dateStyle?: "full" | "long" | "medium" | "short";\r
34         timeStyle?: "full" | "long" | "medium" | "short";\r
35         hourCycle?: "h11" | "h12" | "h23" | "h24";\r
36         dayPeriod?: "narrow" | "short" | "long";\r
37         fractionalSecondDigits?: 0 | 1 | 2 | 3;\r
38     }\r
39 \r
40     interface NumberFormat {\r
41         formatRange(startDate: number | bigint, endDate: number | bigint): string;\r
42         formatRangeToParts(startDate: number | bigint, endDate: number | bigint): NumberFormatPart[];\r
43     }\r
44 }