Browse Source

`.castShadow` accepts `boolean` only

ycw 4 years ago
parent
commit
02efe917cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/Object3D.d.ts

+ 1 - 1
src/core/Object3D.d.ts

@@ -135,7 +135,7 @@ export class Object3D extends EventDispatcher {
 	 * Gets rendered into shadow map.
 	 * @default false
 	 */
-	castShadow: undefined | boolean;
+	castShadow: boolean;
 
 	/**
 	 * Material gets baked in shadow receiving.