Skip to content

Commit 6c63f7a

Browse files
authored
Types: add autopadding to typing (#9858)
* add autopadding to types * fix failing test
1 parent e43730e commit 6c63f7a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

types/index.esm.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,9 +1490,10 @@ export interface CoreChartOptions<TType extends ChartType> extends ParsingOption
14901490
*/
14911491
onClick(event: ChartEvent, elements: ActiveElement[], chart: Chart): void;
14921492

1493-
layout: {
1493+
layout: Partial<{
1494+
autoPadding: boolean;
14941495
padding: Scriptable<number | Partial<ChartArea>, ScriptableContext<TType>>;
1495-
};
1496+
}>;
14961497
}
14971498

14981499
export type EasingFunction =

0 commit comments

Comments
 (0)