mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Correctly extend ExtendedPlugin interface (#9124)
This commit is contained in:
parent
8c5d6be197
commit
cffce1b46f
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;
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user