Browse Source

tslint fix

sanex3339 8 years ago
parent
commit
44e5c3664c
1 changed files with 1 additions and 1 deletions
  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);
         }