mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09: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;
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user