@mocanvas/editor · function

createBuiltInBindingPropsMigrationIds

declare function createBuiltInBindingPropsMigrationIds<const Type extends string, const Versions extends Record<string, number>>(bindingType: Type, versions: Versions): {
    readonly [K in keyof Versions]: `${typeof BUILTIN_BINDING_MIGRATION_SEQUENCE_PREFIX}.${Type}/${Versions[K]}`;
}

As createBuiltInShapePropsMigrationIds, for a built-in binding type.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.