Browse Source

update LineSegments.d.ts

remove 3rd param, `mode` is redundant.
prop `type` is always "LineSegments", so use literal type is sufficient.
ycw 4 years ago
parent
commit
30c97f9d4d
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/objects/LineSegments.d.ts

+ 2 - 3
src/objects/LineSegments.d.ts

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