ICanvasDimensions add string type (#36477)

ICanvasDimensions width and height -> number | string
This commit is contained in:
金大大
2019-07-02 09:43:46 -07:00
committed by Ryan Cavanaugh
parent 3c085113e8
commit 883690aefd
+2 -2
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 {
/**