diff --git a/types/async/test/index.ts b/types/async/test/index.ts index 71406a793f..d5915ed6f0 100644 --- a/types/async/test/index.ts +++ b/types/async/test/index.ts @@ -58,7 +58,7 @@ async.eachLimit(documents, 20, requestApi, function(err) { }); // forEachOf* functions. May accept array or object. function forEachOfIterator(item: string, key: string, forEachOfIteratorCallback: any) { - console.log("ForEach: item=" + item + ", key=" + key); + console.log(`ForEach: item=${item}, key=${key}`); forEachOfIteratorCallback(); } async.forEachOf(openFiles, forEachOfIterator, function(err) { }); @@ -294,7 +294,7 @@ q.push([{ name: 'baz' }, { name: 'bay' }, { name: 'bax' }], function(err) { }); q.push({name: 'foo'}, function(err, msg) { - console.log('foo finished with a message "' + msg! + '"'); + console.log(`foo finished with a message "${msg!}"`); }); q.unshift({ name: 'foo' }); diff --git a/types/async/tslint.json b/types/async/tslint.json index 8c1a002a64..35058f4fc8 100644 --- a/types/async/tslint.json +++ b/types/async/tslint.json @@ -17,7 +17,6 @@ "prefer-const": false, // HAS ISSUES "prefer-for-of": false, // HAS ISSUES "prefer-method-signature": false, // HAS ISSUES - "prefer-template": false, // HAS ISSUES "unified-signatures": false // HAS ISSUES } }