TLStoreOptions

Public TypeAlias

Signature
type TLStoreOptions = {
  initialData?: StoreSnapshot<TLRecord>
  defaultName?: string
} & (
  | {
      schema: StoreSchema<TLRecord, TLStoreProps>
    }
  | {
      shapes: readonly AnyTLShapeInfo[]
    }
)
References

StoreSnapshot, TLRecord, StoreSchema, TLStoreProps, AnyTLShapeInfo

Edit this page
Last edited on 12 June 2023
TLStoreEventInfoTLStoreWithStatus