preserve bindings if present and fix testcases

This commit is contained in:
Aakansha Doshi 2023-05-23 16:47:52 +05:30
parent 75cfe54b15
commit f113a393e6
4 changed files with 23 additions and 10 deletions

View file

@ -1,4 +1,5 @@
import {
Arrowhead,
ExcalidrawBindableElement,
ExcalidrawElement,
FontFamilyValues,
@ -89,6 +90,7 @@ export interface ImportedDataState {
end?: {
type: ExcalidrawBindableElement["type"];
} & MarkOptional<ElementConstructorOpts, "x" | "y">;
endArrowhead?: Arrowhead | null;
} & ElementConstructorOpts)
)[]
| null;