mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-09 20:51:43 -06:00
Add support for formatRange to Intl.DateTimeFormat (#47740)
* add interface for DateTimeFormat.format * remove railing whitespace
This commit is contained in:
parent
1e60c8702c
commit
0798faf596
5
src/lib/esnext.intl.d.ts
vendored
5
src/lib/esnext.intl.d.ts
vendored
@ -1,3 +1,6 @@
|
||||
declare namespace Intl {
|
||||
// Empty for now
|
||||
|
||||
interface DateTimeFormat {
|
||||
formatRange(startName: Date, endNumber: Date): string;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user