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
| ExcalidrawEllipseElement
| ExcalidrawImageElement
| ExcalidrawArrowEleement;
| ExcalidrawArrowElement;
export type ExcalidrawTextElementWithContainer = {
containerId: ExcalidrawTextContainer["id"];
@ -167,7 +167,7 @@ export type ExcalidrawLinearElement = _ExcalidrawElementBase &
endArrowhead: Arrowhead | null;
}>;
export type ExcalidrawArrowEleement = ExcalidrawLinearElement &
export type ExcalidrawArrowElement = ExcalidrawLinearElement &
Readonly<{
type: "arrow";
}>;