diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2022-09-20 07:00:01 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-20 07:00:01 +1000 |
commit | 73e89844bab930f2a2821b059743faed8372ed14 (patch) | |
tree | 7d6e8ef6736e41fd98293d533208b5ebb404c5b6 /cli/dts/lib.esnext.intl.d.ts | |
parent | 79aee3668db88be00673e920d4924626831aff88 (diff) |
feat(cli): update to TypeScript 4.8 (#15064)
Diffstat (limited to 'cli/dts/lib.esnext.intl.d.ts')
-rw-r--r-- | cli/dts/lib.esnext.intl.d.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cli/dts/lib.esnext.intl.d.ts b/cli/dts/lib.esnext.intl.d.ts index 954679457..0eaac02b9 100644 --- a/cli/dts/lib.esnext.intl.d.ts +++ b/cli/dts/lib.esnext.intl.d.ts @@ -19,8 +19,12 @@ and limitations under the License. declare namespace Intl { + interface NumberRangeFormatPart extends NumberFormatPart { + source: "startRange" | "endRange" | "shared" + } + interface NumberFormat { formatRange(start: number | bigint, end: number | bigint): string; - formatRangeToParts(start: number | bigint, end: number | bigint): NumberFormatPart[]; + formatRangeToParts(start: number | bigint, end: number | bigint): NumberRangeFormatPart[]; } } |