diff --git a/types/layout.d.ts b/types/layout.d.ts index 1589008c161..36f3237f3d8 100644 --- a/types/layout.d.ts +++ b/types/layout.d.ts @@ -57,9 +57,9 @@ export interface LayoutItem { */ isHorizontal(): boolean; /** - * Takes two parameters: width and height. Returns size of item + * Takes two parameters: width and height. * @param width * @param height */ - update(width: number, height: number, margins?: ChartArea): number; + update(width: number, height: number, margins?: ChartArea): void; }