mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-10 01:43:59 -05:00
Add support for formatRange to Intl.DateTimeFormat (#47740)
* add interface for DateTimeFormat.format * remove railing whitespace
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user