mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-04 23:44:05 +01:00
Correctly extend ExtendedPlugin interface (#9124)
This commit is contained in:
2
types/index.esm.d.ts
vendored
2
types/index.esm.d.ts
vendored
@@ -742,7 +742,7 @@ export const layouts: {
|
||||
update(chart: Chart, width: number, height: number): void;
|
||||
};
|
||||
|
||||
export interface Plugin<TType extends ChartType = ChartType, O = AnyObject> extends ExtendedPlugin<TType> {
|
||||
export interface Plugin<TType extends ChartType = ChartType, O = AnyObject> extends ExtendedPlugin<TType, O> {
|
||||
id: string;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user