createShapePropsMigrationIds
See source codefunction createShapePropsMigrationIds<
const S extends string,
const T extends Record<string, number>,
>(
shapeType: S,
ids: T
): {
[k in keyof T]: `com.tldraw.shape.${S}/${T[k]}`
}Parameters
| Name | Description |
|---|---|
| |
| |
Returns
{
[k in keyof T]: `com.tldraw.shape.${S}/${T[k]}`
}Prev
createShapeIdNext
createShapePropsMigrationSequence