From: joshuaruesweg Date: Sat, 31 Oct 2020 20:20:14 +0000 (+0100) Subject: Add missing parameter type X-Git-Tag: 5.4.0_Alpha_1~663 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=94732efc5509ac23b6683c452f9662940941c892;p=GitHub%2FWoltLab%2FWCF.git Add missing parameter type --- 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");