createBindingPropsMigrationIds
function createBindingPropsMigrationIds<
S extends string,
T extends Record<string, number>,
>(
bindingType: S,
ids: T
): {
[k in keyof T]: `com.tldraw.binding.${S}/${T[k]}`
}
Parameters
Name | Description |
---|---|
|
|
|
|
Returns
{
[k in keyof T]: `com.tldraw.binding.${S}/${T[k]}`
}