diff --git a/packages/excalidraw/components/ShapeSwitch.tsx b/packages/excalidraw/components/ShapeSwitch.tsx index e8da4955c..ab83556e9 100644 --- a/packages/excalidraw/components/ShapeSwitch.tsx +++ b/packages/excalidraw/components/ShapeSwitch.tsx @@ -57,8 +57,6 @@ import type { FixedSegment, } from "@excalidraw/element/types"; -import type { Mutable } from "@excalidraw/common/utility-types"; - import type Scene from "@excalidraw/element/Scene"; import { @@ -961,9 +959,7 @@ const isConvertibleLinearType = ( * e.g. elbow arrow -> line */ export const convertElementType = < - TElement extends Mutable< - Exclude - >, + TElement extends Exclude, >( element: TElement, newType: ConvertibleType,