Skip to content

Commit

Permalink
feat(types): generic zone.mapStore
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Feb 12, 2025
1 parent b232f79 commit a9b055d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/base-zone/src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export {};
* @typedef {object} Stores
* @property {() => Stores} detached obtain store providers which are detached (the stores are anonymous rather than bound to `label` in the zone)
* @property {(specimen: unknown) => boolean} isStorable return true if the specimen can be stored in the zone, whether as exo-object state or in a store
* @property {(label: string, options?: StoreOptions) => MapStore<any, any>} mapStore provide a Map-like store named `label` in the zone
* @property {<K, V>(label: string, options?: StoreOptions) => MapStore<K, V>} mapStore provide a Map-like store named `label` in the zone
* @property {<K>(label: string, options?: StoreOptions) => SetStore<K>} setStore provide a Set-like store named `label` in the zone
* @property {<K, V>(
* label: string, options?: StoreOptions) => WeakMapStore<K, V>
Expand Down

0 comments on commit a9b055d

Please sign in to comment.