chore(tslint): update tslint rules and fix errors (#5747)

* chore(tslint): fix tslint config & errors
* chore(tslint): enable double quotes, whitespace, and arrow-return-shorthand rules and fix errors
This commit is contained in:
Manol Donev
2018-04-26 18:36:32 +03:00
committed by GitHub
parent a767c8efd4
commit 03cfc0cee3
152 changed files with 2198 additions and 2185 deletions

View File

@@ -128,7 +128,7 @@ export module ad {
var hashSet = new java.util.HashSet<string>();
if (str !== undefined) {
for (var element in str) {
hashSet.add('' + str[element]);
hashSet.add("" + str[element]);
}
}
return hashSet;
@@ -139,7 +139,7 @@ export module ad {
if (stringSet !== undefined) {
var it = stringSet.iterator();
while (it.hasNext()) {
var element = '' + it.next();
var element = "" + it.next();
arr.push(element);
}
}