The four options xMin, xMax, yMin, and yMax can accept an undefined value to indicate "growth to the chart boundary." Scriptable options for these four options also support an undefined value. However, TypeScript has incorrectly defined the types for these four options:
The four options
xMin
,xMax
,yMin
, andyMax
can accept anundefined
value to indicate "growth to the chart boundary." Scriptable options for these four options also support anundefined
value. However, TypeScript has incorrectly defined the types for these four options:Using
(_, __) => undefined
should be a valid assignment, but currently, TypeScript raises a type error.