fix: ExcalidrawArrowElement rather than ExcalidrawArrowEleement (#5955)

This commit is contained in:
DanielJGeiger 2022-12-06 06:00:03 -06:00 committed by GitHub
parent 0111ca2050
commit d131b31084
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";
}>; }>;