TypeScript: xMin
, xMax
, yMin
, yMax
should accept undefined value as Scriptable options return value
#921
Labels
types
Typescript type changes
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.The text was updated successfully, but these errors were encountered: