Public typealias

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

SerializedStore, TLRecord, StoreSchema, TLStoreProps, TLAnyShapeUtilConstructor

Source

packages/editor/src/lib/config/createTLStore.ts

TLStoreEventInfoTLStoreWithStatus