sanex3339 hace 8 años
padre
commit
44e5c3664c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/utils/Utils.ts

+ 1 - 1
src/utils/Utils.ts

@@ -102,7 +102,7 @@ export class Utils {
             throw new ReferenceError(`Cannot rotate empty string.`);
         }
 
-        for (let i = 0; i < times; i++) {
+        for (let i: number = 0; i < times; i++) {
             string = string[string.length - 1] + string.substring(0, string.length - 1);
         }