Sonar: Removed useless void

This commit is contained in:
koloml committed 2026-10-17 05:47:22 +02:00
1 parent 72a0d64809
commit ace783afc3
1 file changed
+1 -1
+1 -1
View File
@@ -77,7 +77,7 @@ export class BaseComponent<ContainerType extends HTMLElement = HTMLElement> {
): () => void {
this.#container.addEventListener(event, listener, options);
return () => void this.#container.removeEventListener(event, listener, options);
return () => this.#container.removeEventListener(event, listener, options);
}
/**