Making component not abstract to run tests on it

This commit is contained in:
koloml committed 2025-02-21 22:03:20 +04:00
1 parent c4a904c046
commit 7aabb683cf
1 file changed
+1 -1
+1 -1
View File
@@ -3,7 +3,7 @@ import { bindComponent } from "$lib/components/base/component-utils";
type ComponentEventListener<EventName extends keyof HTMLElementEventMap> =
(this: HTMLElement, event: HTMLElementEventMap[EventName]) => void;
export abstract class BaseComponent<ContainerType extends HTMLElement = HTMLElement> {
export class BaseComponent<ContainerType extends HTMLElement = HTMLElement> {
readonly #container: ContainerType;
#isInitialized = false;