Bläddra i källkod

fix: `ExcalidrawArrowElement` rather than `ExcalidrawArrowEleement` (#5955)

DanielJGeiger 2 år sedan
förälder
incheckning
d131b31084
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/element/types.ts

+ 2 - 2
src/element/types.ts

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