NumberFormatOptions interface is missing compactDisplay and signDisplay properties #40038
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
Milestone
TypeScript Version: 3.9.2
Search Terms: NumberFormatOptions compactDisplay signDisplay
Code
Expected behavior:
compactDisplay
andsignDisplay
should be usable for NumberFormatOptions.Actual behavior:
Playground Link: https://www.typescriptlang.org/play?#code/MYewdgziA2CmB00QHMAUZYHcAEBJMALtPAHICuAtgEawBOAYiLRQIYGoDksYHANNgG8AUNlHZgZWrW7AAngC5sHAKoBlACJ8RYiAEtkYdbogAHaCwVKMANzpax2CAVlxFHCVJmytAXwCU8ABmTKzsALQAjPAArH5+ANxCQqCQMAhIaBg4+ESklDQMIWyc3HyC2qKgFCYswARGpuaWHEhgyPZiYCAEbLrgblU1dRxC-kFF7BEADDMzcfFAA
Related Issues:
The text was updated successfully, but these errors were encountered: