()
| 11 | } |
| 12 | |
| 13 | async entries() { |
| 14 | let map = stores.get(this.#path); |
| 15 | if (!map) { |
| 16 | map = new Map<string, unknown>(); |
| 17 | stores.set(this.#path, map); |
| 18 | } |
| 19 | return Array.from(map.entries()); |
| 20 | } |
| 21 | |
| 22 | async get<T>(key: string): Promise<T | null> { |
| 23 | const map = stores.get(this.#path); |
no test coverage detected