createTLSchema

Public Function

Parameters
NameDescription

{ customShapeDefs, allowUnknownShapes, derivePresenceState, }

{
  customShapeDefs?: readonly CustomShapeTypeInfo[]
  allowUnknownShapes?: boolean
  derivePresenceState?: (
    store: TLStore
  ) => Signal<null | TLInstancePresence>
}
Returns
StoreSchema<TLRecord, TLStoreProps>
References

CustomShapeTypeInfo, TLStore, Signal, TLInstancePresence, StoreSchema, TLRecord, TLStoreProps

Edit this page
Last edited on 11 May 2023
createShapeValidatorcursorTypeValidator