Closed
Description
notation
is missing from NumberFormatOptions
Line 4236 in 91ffa1c
TypeScript Version: 3.7.5
Search Terms: NumberFormatOptions notation
Code
const str = new Intl.NumberFormat(undefined, {notation: 'scientific'}).format(100000);
Expected behavior:
I should be able to use NumberFormat's notation option. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat
Actual behavior:
src/core/core.ticks.js(57,43): error TS2345: Argument of type '{ notation: string; minimumFractionDigits: number; maximumFractionDigits: number; }' is not assignable to parameter of type 'NumberFormatOptions'.
Playground Link: None
Related Issues: None