createShapePropsMigrationIds
Public function
Signature
function createShapePropsMigrationIds<
S extends string,
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]}`
}
Source