1
0
mirror of https://github.com/koloml/furbooru-tagging-assistant.git synced 2025-12-23 23:02:58 +00:00

Making component not abstract to run tests on it

This commit is contained in:
2025-02-21 22:03:20 +04:00
parent c4a904c046
commit 7aabb683cf

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;