add DateStyle and TimeStyle to DateTimeFormatOptions #44632
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Help Wanted
You can do this
Milestone
lib Update Request
Configuration Check
My compilation target is
es2017
and my lib is["dom"]
.Missing / Incorrect Definition
DateTimeFormatOptions.DateStyle
DateTimeFormatOptions.TimeStyle
Sample Code
Documentation Link
TC39 spec: https://tc39.es/ecma402/#sec-intl-datetimeformat-constructor
MDN docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#parameters
Note:
this is a duplicate of #38266 but formated as a lib Update Request
this is not a duplicate of #35865
The text was updated successfully, but these errors were encountered: