Skip to content

Commit 0798faf

Browse files
authored
Add support for formatRange to Intl.DateTimeFormat (#47740)
* add interface for DateTimeFormat.format * remove railing whitespace
1 parent 1e60c87 commit 0798faf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/lib/esnext.intl.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
declare namespace Intl {
2-
// Empty for now
2+
3+
interface DateTimeFormat {
4+
formatRange(startName: Date, endNumber: Date): string;
5+
}
36
}

0 commit comments

Comments
 (0)