summaryrefslogtreecommitdiff
path: root/cli/dts/lib.esnext.intl.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/dts/lib.esnext.intl.d.ts')
-rw-r--r--cli/dts/lib.esnext.intl.d.ts6
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[];
}
}