Skip to content

Commit

Permalink
Fix type linting for merge between two PRs (#9385)
Browse files Browse the repository at this point in the history
  • Loading branch information
etimberg committed Jul 10, 2021
1 parent d661bd7 commit 6349df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.esm.d.ts
Expand Up @@ -2130,7 +2130,7 @@ export interface LegendItem {
textAlign?: TextAlign;
}

export interface LegendElement<TType extends ChartType> extends Element, LayoutItem {
export interface LegendElement<TType extends ChartType> extends Element<AnyObject, LegendOptions<TType>>, LayoutItem {
chart: Chart<TType>;
ctx: CanvasRenderingContext2D;
legendItems?: LegendItem[];
Expand Down

0 comments on commit 6349df9

Please sign in to comment.