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