refactor(static): add base component types

This commit is contained in:
2026-09-10 10:28:12 +03:00
parent 6683b7b5b0
commit bed8d7af7b
13 changed files with 368 additions and 236 deletions
+5 -1
View File
@@ -1,4 +1,8 @@
export class DataStorage<T extends { id: string }> {
export interface StorageValue {
id: string;
}
export class DataStorage<T extends StorageValue> {
constructor(private storageKey: string) {}
private readValues(): T[] {