Skip to content

Commit 9583edd

Browse files
authored
LayoutItem.update should return void (#8714)
1 parent 39140cc commit 9583edd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types/layout.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ export interface LayoutItem {
5757
*/
5858
isHorizontal(): boolean;
5959
/**
60-
* Takes two parameters: width and height. Returns size of item
60+
* Takes two parameters: width and height.
6161
* @param width
6262
* @param height
6363
*/
64-
update(width: number, height: number, margins?: ChartArea): number;
64+
update(width: number, height: number, margins?: ChartArea): void;
6565
}

0 commit comments

Comments
 (0)