chore: follow the general comments style
This commit is contained in:
@@ -28,7 +28,9 @@ import { SvelteMap } from 'svelte/reactivity';
|
||||
* Base entity interface requiring an ID field
|
||||
*/
|
||||
export interface Entity {
|
||||
/** Unique identifier for the entity */
|
||||
/**
|
||||
* Unique identifier for the entity
|
||||
*/
|
||||
id: string;
|
||||
}
|
||||
|
||||
@@ -39,7 +41,9 @@ export interface Entity {
|
||||
* triggers updates when entities are added, removed, or modified.
|
||||
*/
|
||||
export class EntityStore<T extends Entity> {
|
||||
/** Reactive map of entities keyed by ID */
|
||||
/**
|
||||
* Reactive map of entities keyed by ID
|
||||
*/
|
||||
#entities = new SvelteMap<string, T>();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user