Skip to content

Commit d325fb4

Browse files
committed
Fixing missing type definition that caused a compilation error
1 parent 5592e49 commit d325fb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ts/ui-misc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ export module UIMisc {
265265
generateCandidateFixed(pw: string, depth: number, originalPW: string): number {
266266
// We keep a vector that tracks changes we make to the password for
267267
// future highlighting purposes.
268-
var deltas = [];
268+
var deltas: Array<number> = [];
269269
// If this is the initial call, initialize that vector
270270
if (typeof (this.deltaHighlighted[pw]) === "undefined") {
271271
for (var i = 0; i < pw.length; i++) {

0 commit comments

Comments
 (0)