浏览代码

Merge pull request #20165 from giulioz/patch-1

TS: Fix types for Line2
Mr.doob 5 年之前
父节点
当前提交
3a993b4180
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      examples/jsm/lines/Line2.d.ts

+ 3 - 0
examples/jsm/lines/Line2.d.ts

@@ -4,6 +4,9 @@ import { LineMaterial } from './LineMaterial';
 
 
 export class Line2 extends LineSegments2 {
 export class Line2 extends LineSegments2 {
 
 
+	geometry?: LineGeometry;
+	material?: LineMaterial;
+
 	constructor( geometry?: LineGeometry, material?: LineMaterial );
 	constructor( geometry?: LineGeometry, material?: LineMaterial );
 	readonly isLine2: true;
 	readonly isLine2: true;