MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / save

Method save

src/app/repo/localStorage.ts:14–16  ·  view source on GitHub ↗
(value: LocalStorageItem)

Source from the content-addressed store, hash-verified

12 }
13
14 save(value: LocalStorageItem) {
15 return super._save(value.key, value);
16 }
17
18 async getValue<T>(key: string) {
19 return (await super.get(key))?.value as T | undefined;

Callers 1

migrateChromeStorageFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected