remove 3rd param, `mode` is redundant. prop `type` is always "LineSegments", so use literal type is sufficient.
@@ -19,14 +19,13 @@ export class LineSegments <
constructor(
geometry?: TGeometry,
- material?: TMaterial,
- mode?: number
+ material?: TMaterial
);
/**
* @default 'LineSegments'
*/
- type: 'LineSegments' | string;
+ type: 'LineSegments';
readonly isLineSegments: true;
}