mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Fix Invalid Typescript Types (#7748)
This commit is contained in:
parent
effe988bbf
commit
4a827db5ff
4
types/core/index.d.ts
vendored
4
types/core/index.d.ts
vendored
@ -346,7 +346,7 @@ export class DatasetController<E extends Element = Element, DSE extends Element
|
||||
* Utility for checking if the options are shared and should be animated separately.
|
||||
* @protected
|
||||
*/
|
||||
protected getSharedOptions(options: any): undefined | { any };
|
||||
protected getSharedOptions(options: any): undefined | any;
|
||||
/**
|
||||
* Utility for determining if `options` should be included in the updated properties
|
||||
* @protected
|
||||
@ -823,7 +823,7 @@ export interface IPlugin<O = {}> {
|
||||
destroy?(chart: Chart, options: O): void;
|
||||
}
|
||||
|
||||
declare type IChartComponentLike = IChartComponent | IChartComponent[] | { [key: string]: IChartComponent };
|
||||
export declare type IChartComponentLike = IChartComponent | IChartComponent[] | { [key: string]: IChartComponent };
|
||||
|
||||
/**
|
||||
* Please use the module's default export which provides a singleton instance
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user