From 94732efc5509ac23b6683c452f9662940941c892 Mon Sep 17 00:00:00 2001 From: joshuaruesweg Date: Sat, 31 Oct 2020 21:20:14 +0100 Subject: [PATCH] Add missing parameter type --- wcfsetup/install/files/ts/WoltLabSuite/Core/Image/Resizer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/ts/WoltLabSuite/Core/Image/Resizer.ts b/wcfsetup/install/files/ts/WoltLabSuite/Core/Image/Resizer.ts index 121b24fcdd..3c58f15294 100644 --- a/wcfsetup/install/files/ts/WoltLabSuite/Core/Image/Resizer.ts +++ b/wcfsetup/install/files/ts/WoltLabSuite/Core/Image/Resizer.ts @@ -143,7 +143,7 @@ class ImageResizer { maxHeight: number = this.maxHeight, quality: number = this.quality, force = false, - cancelPromise + cancelPromise?: Promise ): Promise { const canvas = document.createElement("canvas"); -- 2.20.1