mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-03 22:37:06 +02:00
all the lints
This commit is contained in:
@@ -5,7 +5,7 @@ import { removeElement } from "./removeElement";
|
||||
* Given its id, this function removes an element AND its children
|
||||
* @param id The HTML identifier to search for and remove.
|
||||
*/
|
||||
export function removeElementById(id: string) {
|
||||
export function removeElementById(id: string): void {
|
||||
try {
|
||||
const elem: HTMLElement = getElementById(id);
|
||||
removeElement(elem);
|
||||
|
||||
Reference in New Issue
Block a user