From 9a4328e2b7cec12af86b6a26f61db090bc721664 Mon Sep 17 00:00:00 2001 From: Evert Timberg Date: Wed, 24 Mar 2021 12:17:25 -0400 Subject: [PATCH] LayoutItem.update should return void --- types/layout.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }