chartjs / chartjs-plugin-annotation

Annotation plugin for Chart.js
MIT License
603 stars 325 forks source link

Font config should be partial #848

Closed oliviervanbulck closed 1 year ago

oliviervanbulck commented 1 year ago

When using font config in an annotation, typescript gives an TS2739 error that says that you have to implement all font properties. Because this is an object that overrides the global font config, this should be partial so you can alter only specific elements.

image

stockiNail commented 1 year ago

PR #849 submitted