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
When tried to add tooltip function in the plugin it says Type '{ enabled: true; text: (timestamp: any, value: any, dayjsDate: any) => string; }' is not assignable to type 'Partial<PluginOptions>'. Object literal may only specify known properties, and 'enabled' does not exist in type 'Partial<PluginOptions>'. and in the package export interface PluginOptions { position?: 'top' | 'right' | 'bottom' | 'left'; dimensions?: Dimensions; key?: string; } which is not aligned with what is documented interface TooltipOptions extends PluginOptions, PopperOptions { enabled: boolean; text: (timestamp: number, value: number, dayjsDate: dayjs.Dayjs) => string; }