fix: ExcalidrawArrowElement rather than ExcalidrawArrowEleement (#5955)

This commit is contained in:
DanielJGeiger
2022-12-06 17:30:03 +05:30
committed by GitHub
parent 0111ca2050
commit d131b31084
+2 -2
View File
@@ -142,7 +142,7 @@ export type ExcalidrawTextContainer =
| ExcalidrawDiamondElement | ExcalidrawDiamondElement
| ExcalidrawEllipseElement | ExcalidrawEllipseElement
| ExcalidrawImageElement | ExcalidrawImageElement
| ExcalidrawArrowEleement; | ExcalidrawArrowElement;
export type ExcalidrawTextElementWithContainer = { export type ExcalidrawTextElementWithContainer = {
containerId: ExcalidrawTextContainer["id"]; containerId: ExcalidrawTextContainer["id"];
@@ -167,7 +167,7 @@ export type ExcalidrawLinearElement = _ExcalidrawElementBase &
endArrowhead: Arrowhead | null; endArrowhead: Arrowhead | null;
}>; }>;
export type ExcalidrawArrowEleement = ExcalidrawLinearElement & export type ExcalidrawArrowElement = ExcalidrawLinearElement &
Readonly<{ Readonly<{
type: "arrow"; type: "arrow";
}>; }>;