From: Evert Timberg Date: Wed, 24 Mar 2021 17:38:25 +0000 (-0400) Subject: LayoutItem.update should return void (#8714) X-Git-Tag: v3.0.0-rc.4~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9583edd38d4c01565da4891b1d9181a2694e7fb1;p=thirdparty%2FChart.js.git LayoutItem.update should return void (#8714) --- diff --git a/types/layout.d.ts b/types/layout.d.ts index 1589008c1..36f3237f3 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; }