createBindingPropsMigrationIds

See source code
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

NameDescription

bindingType

S

ids

T

Returns

{
  [k in keyof T]: `com.tldraw.binding.${S}/${T[k]}`
}
Prev
createBindingId
Next
createBindingPropsMigrationSequence