Function propertyStore
- property
Store <O, K>(origin, propName): Writable<O[K]> Type Parameters
Parameters
- origin: MinimalWritable<O>
The store containing the object to get/set from.
- propName: K | [K]
The property to get/set, or a path of properties in nested objects.
Returns Writable<O[K]>
A writable store.
- origin: MinimalWritable<O>
- property
Store <O, K1, K2>(origin, propName): Writable<O[K1][K2]> Type Parameters
Parameters
- origin: MinimalWritable<O>
- propName: [K1, K2]
Returns Writable<O[K1][K2]>
- property
Store <O, K1, K2, K3>(origin, propName): Writable<O[K1][K2][K3]> Type Parameters
Parameters
- origin: MinimalWritable<O>
- propName: [K1, K2, K3]
Returns Writable<O[K1][K2][K3]>
- property
Store <O, K1, K2, K3, K4>(origin, propName): Writable<O[K1][K2][K3][K4]> Type Parameters
Returns Writable<O[K1][K2][K3][K4]>
- property
Store (origin, propName): Writable<any> Parameters
- origin: MinimalWritable<object>
- propName:
| string
| number
| symbol
| (string | number | symbol)[]
Returns Writable<any>
Create a store for a property value in an object contained in another store. Read more...