diff --git a/types/html2canvas/index.d.ts b/types/html2canvas/index.d.ts
index 7d6c8eb5c8..b931d7cd77 100644
--- a/types/html2canvas/index.d.ts
+++ b/types/html2canvas/index.d.ts
@@ -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;