From: Tim Düsterhus Date: Wed, 4 Nov 2020 13:04:51 +0000 (+0100) Subject: Make the type-only import explicit in PasswordStrength.ts X-Git-Tag: 5.4.0_Alpha_1~640 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=13fe559df5198bff8ff79bc4463bee0a4e58ae57;p=GitHub%2FWoltLab%2FWCF.git Make the type-only import explicit in PasswordStrength.ts --- diff --git a/wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/User/PasswordStrength.ts b/wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/User/PasswordStrength.ts index 6f9475a0d8..ac5323d14c 100644 --- a/wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/User/PasswordStrength.ts +++ b/wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/User/PasswordStrength.ts @@ -12,7 +12,7 @@ import * as Language from "../../Language"; import DomUtil from "../../Dom/Util"; // zxcvbn is imported for the types only. It is loaded on demand, due to its size. -import zxcvbn from "zxcvbn"; +import type zxcvbn from "zxcvbn"; type StaticDictionary = string[];