@tldraw/editor 3.10.0 → 3.11.0-canary.f529c521e249
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.d.ts +1 -1
- package/dist-cjs/index.js +1 -1
- package/dist-cjs/lib/editor/Editor.js.map +2 -2
- package/dist-cjs/version.js +3 -3
- package/dist-cjs/version.js.map +1 -1
- package/dist-esm/index.d.mts +1 -1
- package/dist-esm/index.mjs +1 -1
- package/dist-esm/lib/editor/Editor.mjs.map +2 -2
- package/dist-esm/version.mjs +3 -3
- package/dist-esm/version.mjs.map +1 -1
- package/package.json +7 -7
- package/src/lib/editor/Editor.ts +1 -1
- package/src/version.ts +3 -3
package/dist-cjs/index.d.ts
CHANGED
|
@@ -2920,7 +2920,7 @@ export declare class Editor extends EventEmitter<TLEventMap> {
|
|
|
2920
2920
|
* Create bindings from a list of partial bindings. You can omit the ID and most props of a
|
|
2921
2921
|
* binding, but the `type`, `toId`, and `fromId` must all be provided.
|
|
2922
2922
|
*/
|
|
2923
|
-
createBindings(partials: TLBindingCreate[]): this;
|
|
2923
|
+
createBindings<B extends TLBinding = TLBinding>(partials: TLBindingCreate<B>[]): this;
|
|
2924
2924
|
/**
|
|
2925
2925
|
* Create a single binding from a partial. You can omit the ID and most props of a binding, but
|
|
2926
2926
|
* the `type`, `toId`, and `fromId` must all be provided.
|