Enable no-var-keyword tslint rule

This commit is contained in:
Matt Bierner
2019-01-03 18:02:48 -08:00
parent 3f8579f96a
commit 5cc00861fc
42 changed files with 557 additions and 561 deletions

View File

@@ -5,7 +5,7 @@
export function pushAll<T>(to: T[], from: T[]) {
if (from) {
for (var i = 0; i < from.length; i++) {
for (let i = 0; i < from.length; i++) {
to.push(from[i]);
}
}

View File

@@ -52,7 +52,7 @@ export function endsWith(haystack: string, needle: string): boolean {
}
export function repeat(value: string, count: number) {
var s = '';
let s = '';
while (count > 0) {
if ((count & 1) === 1) {
s += value;