Skip to content

Commit e86a117

Browse files
committed
remove "/en-US" from MDN URL
1 parent 86c687a commit e86a117

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/lib/es2025.intl.d.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ declare namespace Intl {
33
/**
44
* Value of the `unit` property in duration objects
55
*
6-
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/format#duration).
6+
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/format#duration).
77
*/
88
type DurationTimeFormatUnit =
99
| "years"
@@ -20,7 +20,7 @@ declare namespace Intl {
2020
/**
2121
* The style of the formatted duration.
2222
*
23-
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/DurationFormat#style).
23+
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/DurationFormat#style).
2424
*/
2525
type DurationFormatStyle = "long" | "short" | "narrow" | "digital";
2626

@@ -38,7 +38,7 @@ declare namespace Intl {
3838
* An object representing the relative time format in parts
3939
* that can be used for custom locale-aware formatting.
4040
*
41-
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/formatToParts#examples).
41+
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/formatToParts#examples).
4242
*/
4343
type DurationFormatPart =
4444
| {
@@ -63,7 +63,7 @@ declare namespace Intl {
6363
/**
6464
* Number of how many fractional second digits to display in the output.
6565
*
66-
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/DurationFormat#fractionaldigits).
66+
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/DurationFormat#fractionaldigits).
6767
*/
6868
type fractionalDigitsOption = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
6969

@@ -124,21 +124,21 @@ declare namespace Intl {
124124
/**
125125
* The duration object to be formatted
126126
*
127-
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/format#duration).
127+
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/format#duration).
128128
*/
129129
type DurationType = Partial<Record<DurationTimeFormatUnit, number>>;
130130

131131
interface DurationFormat {
132132
/**
133133
* @param duration The duration object to be formatted. It should include some or all of the following properties: months, weeks, days, hours, minutes, seconds, milliseconds, microseconds, nanoseconds.
134134
*
135-
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/format).
135+
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/format).
136136
*/
137137
format(duration: DurationType): string;
138138
/**
139139
* @param duration The duration object to be formatted. It should include some or all of the following properties: months, weeks, days, hours, minutes, seconds, milliseconds, microseconds, nanoseconds.
140140
*
141-
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/formatToParts).
141+
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/formatToParts).
142142
*/
143143
formatToParts(duration: DurationType): DurationFormatPart[];
144144
/**
@@ -157,7 +157,7 @@ declare namespace Intl {
157157
*
158158
* @param options An object for setting up a duration format.
159159
*
160-
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/DurationFormat).
160+
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/DurationFormat).
161161
*/
162162
new (
163163
locales?: LocalesArgument,
@@ -175,7 +175,7 @@ declare namespace Intl {
175175
*
176176
* @returns An array of strings representing a subset of the given locale tags that are supported in display names without having to fall back to the runtime's default locale.
177177
*
178-
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/supportedLocalesOf).
178+
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/supportedLocalesOf).
179179
*/
180180
supportedLocalesOf(
181181
locales?: LocalesArgument,

0 commit comments

Comments
 (0)