Correctly extend ExtendedPlugin interface (#9124)

This commit is contained in:
Jon Rimmer 2021-05-19 15:39:48 +01:00 committed by GitHub
parent 8c5d6be197
commit cffce1b46f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
/**