Tldraw/apps/examples/src/8-error-boundary/ErrorShape.ts

4 wiersze
135 B
TypeScript

import { TLBaseShape } from '@tldraw/tldraw'
export type ErrorShape = TLBaseShape<'error', { w: number; h: number; message: string }>