ソースを参照

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

DanielJGeiger 2 年 前
コミット
d131b31084
1 ファイル変更2 行追加2 行削除
  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";
   }>;