Browse Source

Merge pull request #20429 from Methuselah96/patch-1

TS: Fix "color" property type on LineBasicMaterial
Mr.doob 4 years ago
parent
commit
b1390eb11b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/materials/LineBasicMaterial.d.ts

+ 1 - 1
src/materials/LineBasicMaterial.d.ts

@@ -21,7 +21,7 @@ export class LineBasicMaterial extends Material {
 	/**
 	 * @default 0xffffff
 	 */
-	color: Color | string | number;
+	color: Color;
 
 	/**
 	 * @default 1