Skip to content

Commit 87d5329

Browse files
committed
docs(pos): fix Storage.current jsdoc — reference set/delete, not update
The Storage interface does not expose an update() method (only set/get/clear/delete/entries). Replace the stale 'update()' reference with 'delete()' so the docs match the actual API surface.
1 parent a7087b7 commit 87d5329

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/ui-extensions/src/surfaces/point-of-sale/types

packages/ui-extensions/src/surfaces/point-of-sale/types/storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export interface Storage<
2424
*
2525
* Each key is exposed as a `ReadonlySignalLike<T | undefined>`, enabling cross-target
2626
* reactivity. One extension target can subscribe to a key and react when
27-
* another target updates it via `set()` or `update()`.
27+
* another target updates it via `set()` or `delete()`.
2828
*
2929
* The `value` property provides synchronous access to the current stored value.
3030
* The `subscribe()` method registers a callback that fires whenever the value

0 commit comments

Comments
 (0)