LayoutItem.update should return void (#8714)

This commit is contained in:
Evert Timberg 2021-03-24 13:38:25 -04:00 committed by GitHub
parent 39140cca2e
commit 9583edd38d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
types/layout.d.ts vendored
View File

@ -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;
}