mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-04 09:10:09 +00:00
ICanvasDimensions add string type (#36477)
ICanvasDimensions width and height -> number | string
This commit is contained in:
4
types/fabric/fabric-impl.d.ts
vendored
4
types/fabric/fabric-impl.d.ts
vendored
@@ -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