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