You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(pos): rename storage.keys to storage.latest per TAG feedback
Aligns with ui-api-design#1416 rename. Updates JSDoc with cross-target
reactivity example and .value/.subscribe() documentation. Updates
tester mock with Proxy-based latest implementation.
* Stores a value under the specified key, overwriting any existing value. Values must be JSON-serializable and return `StorageError` when storage limits are exceeded. Commonly used for storing user preferences, caching API responses, or passing contextual data from tiles to modals.
@@ -103,9 +108,8 @@ export interface Storage<
103
108
/**
104
109
* Provides reactive, subscribable access to individual storage keys.
105
110
*
106
-
* Each property is a `ReadonlySignalLike` that reflects the current value of
107
-
* the corresponding storage key. Values are `undefined` when the key does not
108
-
* exist.
111
+
* Each property is a `ReadonlySignalLike` that reflects the current value of the
112
+
* corresponding storage key. Values are `undefined` when the key does not exist.
109
113
*
110
114
* Mutations are performed through the existing `Storage` methods (`set`,
111
115
* `delete`, `clear`, etc.) — `StorageKeys` is read-only and reactive.
0 commit comments