Make the type-only import explicit in PasswordStrength.ts
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 4 Nov 2020 13:04:51 +0000 (14:04 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 4 Nov 2020 13:04:51 +0000 (14:04 +0100)
wcfsetup/install/files/ts/WoltLabSuite/Core/Ui/User/PasswordStrength.ts

index 6f9475a0d83721b4e844085ba3420d5d2d915a8b..ac5323d14c5cbc7301b71afb3ef2ae6f4b01632f 100644 (file)
@@ -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[];