[chore] TSLint cleanup

This commit is contained in:
Steven Evans
2018-07-08 01:11:34 -04:00
parent 28bebeb144
commit 41fbf63f0d
7 changed files with 94 additions and 43 deletions
+2 -2
View File
@@ -16,11 +16,11 @@ export function removeElement(elem: Element | null) {
return;
}
while (elem.firstChild) {
while (elem.firstChild !== null) {
elem.removeChild(elem.firstChild);
}
if (elem.parentNode) {
if (elem.parentNode !== null) {
elem.parentNode.removeChild(elem);
}
}