mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-06 16:26:52 +01:00
Types: add autopadding to typing (#9858)
* add autopadding to types * fix failing test
This commit is contained in:
committed by
GitHub
parent
e43730eb4d
commit
6c63f7a01b
5
types/index.esm.d.ts
vendored
5
types/index.esm.d.ts
vendored
@@ -1490,9 +1490,10 @@ export interface CoreChartOptions<TType extends ChartType> extends ParsingOption
|
||||
*/
|
||||
onClick(event: ChartEvent, elements: ActiveElement[], chart: Chart): void;
|
||||
|
||||
layout: {
|
||||
layout: Partial<{
|
||||
autoPadding: boolean;
|
||||
padding: Scriptable<number | Partial<ChartArea>, ScriptableContext<TType>>;
|
||||
};
|
||||
}>;
|
||||
}
|
||||
|
||||
export type EasingFunction =
|
||||
|
||||
Reference in New Issue
Block a user