ICanvasDimensions add string type (#36477)

ICanvasDimensions width and height -> number | string
This commit is contained in:
金大大
2019-07-03 00:43:46 +08:00
committed by Ryan Cavanaugh
parent 3c085113e8
commit 883690aefd

View File

@@ -928,11 +928,11 @@ interface ICanvasDimensions {
/**
* Width of canvas element
*/
width: number;
width: number | string;
/**
* Height of canvas element
*/
height: number;
height: number | string;
}
interface ICanvasDimensionsOptions {
/**