mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
ICanvasDimensions add string type (#36477)
ICanvasDimensions width and height -> number | string
This commit is contained in:
Vendored
+2
-2
@@ -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 {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user