Tldraw/packages/core/src/TLShapeUtil/index.ts

9 wiersze
229 B
TypeScript

import type { TLShape } from '~types'
import type { TLShapeUtil } from './TLShapeUtil'
export type TLShapeUtilsMap<T extends TLShape> = {
[K in T['type']]: TLShapeUtil<Extract<T, { type: K }>>
}
export * from './TLShapeUtil'