SIGN IN SIGN UP
chartjs / Chart.js UNCLAIMED

Simple HTML5 Charts using the <canvas> tag

0 0 1 JavaScript

types: Allow passing undefined for chart options (#11780)

When exactOptionalPropertyTypes, TypeScript distinguishes between the
value undefined and the property not existing. See:

https://www.typescriptlang.org/tsconfig/#exactOptionalPropertyTypes

For Chart.js options, this difference is not important and either
passing undefined or not including it have the same effect.
J
Jon Dufresne committed
228a4856037cafcaa955eccde31e79968c94a8c8
Parent: 5c9e5c6
Committed by GitHub <noreply@github.com> on 5/21/2024, 1:07:35 PM