mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-28 09:25:50 +08:00
Fix for backgroundColor property (#29361)
This commit is contained in:
4
types/html2canvas/index.d.ts
vendored
4
types/html2canvas/index.d.ts
vendored
@@ -14,8 +14,8 @@ declare namespace Html2Canvas {
|
||||
/** Whether to allow cross-origin images to taint the canvas */
|
||||
allowTaint?: boolean;
|
||||
|
||||
/** Canvas background color, if none is specified in DOM. Set undefined for transparent */
|
||||
backgroundColor?: string;
|
||||
/** Canvas background color, if none is specified in DOM. Set null for transparent */
|
||||
backgroundColor?: string | null;
|
||||
|
||||
/** Existing canvas element to use as a base for drawing on */
|
||||
canvas?: any;
|
||||
|
||||
Reference in New Issue
Block a user