createShapeValidator
Public Function
Parameters
| Name | Description |
|---|---|
| |
(optional) | |
Returns
T.ObjectValidator<{
id: TLShapeId
typeName: 'shape'
x: number
y: number
rotation: number
index: string
parentId: TLParentId
type: Type
isLocked: boolean
opacity: number
props: Props | Record<string, unknown>
}>
References
T.Validatable, T.ObjectValidator, TLShapeId, TLParentId, Record