Skip to content

Commit

Permalink
Types: add autopadding to typing (#9858)
Browse files Browse the repository at this point in the history
* add autopadding to types

* fix failing test
  • Loading branch information
LeeLenaleee committed Nov 15, 2021
1 parent e43730e commit 6c63f7a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions types/index.esm.d.ts
Expand Up @@ -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 =
Expand Down

0 comments on commit 6c63f7a

Please sign in to comment.