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