highlightShapeProps
See source codeValidation schema for highlight shape properties. Defines the runtime validation rules for all properties of highlight shapes.
highlightShapeProps: RecordProps<TLHighlightShape>
Example
import { highlightShapeProps } from '@tldraw/tlschema'
// Used internally by the validation system
const validator = T.object(highlightShapeProps)
const validatedProps = validator.validate(someHighlightProps)
Prev
highlightShapeMigrationsNext
ImageShapeCrop