mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
LayoutItem.update should return void (#8714)
This commit is contained in:
parent
39140cca2e
commit
9583edd38d
4
types/layout.d.ts
vendored
4
types/layout.d.ts
vendored
@ -57,9 +57,9 @@ export interface LayoutItem {
|
|||||||
*/
|
*/
|
||||||
isHorizontal(): boolean;
|
isHorizontal(): boolean;
|
||||||
/**
|
/**
|
||||||
* Takes two parameters: width and height. Returns size of item
|
* Takes two parameters: width and height.
|
||||||
* @param width
|
* @param width
|
||||||
* @param height
|
* @param height
|
||||||
*/
|
*/
|
||||||
update(width: number, height: number, margins?: ChartArea): number;
|
update(width: number, height: number, margins?: ChartArea): void;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user