From 44e5c3664c09f5ff6d6c1cb1bc70ea21de0a96fa Mon Sep 17 00:00:00 2001 From: sanex3339 Date: Wed, 21 Dec 2016 01:51:14 +0300 Subject: [PATCH] tslint fix --- src/utils/Utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Utils.ts b/src/utils/Utils.ts index 4387303d..09def620 100644 --- a/src/utils/Utils.ts +++ b/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); }