NumberFormatOptions interface is missing unit and unitDisplay properties. #38012
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
TypeScript Version: 3.8.3 and Nightly
Search Terms: NumberFormatOptions unit unitDisplay
Code
Expected behavior:
unit
andunitDisplay
should be usable forNumberFormatOptions
.Actual behavior:
Playground Link: https://www.typescriptlang.org/play/?ssl=1&ssc=1&pln=5&pc=17#code/MYewdgziA2CmB00QHMAUZYHcAEBJMALtPAHICuAtgEawBOAYiLRQIYGoDksYHANNgG8AUNlHYIBAJ5wAXNg5kwASwJ8RYxSrkcA1kqRVJBWGrHZNBACJKIAB2gtJ2iAAsmq3kIC+ASngAzJlZ2AEZ4AFYfHwBuIA
Related Issues:
The text was updated successfully, but these errors were encountered: