tslint fix

This commit is contained in:
sanex3339
2016-12-21 01:51:14 +03:00
parent d2d5517dd1
commit 44e5c3664c
+1 -1
View File
@@ -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);
}