[]previous and next page

Store

Read-only view of T.

Read-only view of T. Reads through it subscribe to the exact property read; writes are a type error and throw at runtime outside setStore.

Import#

ts
import type { Store } from "@shadow-js/core";

Signature#

ts
type Store<T> = T extends Opaque ? T : { readonly [K in keyof T]: Store<T[K]> }