sanex3339 8 yıl önce
ebeveyn
işleme
44e5c3664c
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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);
         }