mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Add support for formatRange to Intl.DateTimeFormat (#47740)
* add interface for DateTimeFormat.format * remove railing whitespace
This commit is contained in:
1 parent
1e60c8702c
commit
0798faf596
1 file changed
+4
-1
Vendored
+4
-1
@@ -1,3 +1,6 @@
|
||||
declare namespace Intl {
|
||||
// Empty for now
|
||||
|
||||
interface DateTimeFormat {
|
||||
formatRange(startName: Date, endNumber: Date): string;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user