You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello folks,
Thanks for the nice plugin. Using chartjs-plugin-annotation: 2.2.1 and typescript: 3.9.10 I get the following type error:
ERROR in .../node_modules/chartjs-plugin-annotation/types/label.d.ts(5,25):
5:25 'number' only refers to a type, but is being used as a value here.
3 | import { DrawTime, Scriptable, ShadowOptions } from './options';
4 |
> 5 | type percentString = `${number}%`;
| ^
6 | export type LabelPosition = 'start' | 'center' | 'end' | percentString;
7 |
8 | export type LabelTextAlign = 'left' | 'start' | 'center' | 'right' | 'end';
The text was updated successfully, but these errors were encountered:
Hello folks,
Thanks for the nice plugin. Using
chartjs-plugin-annotation: 2.2.1
andtypescript: 3.9.10
I get the following type error:The text was updated successfully, but these errors were encountered: