Browse Source

Set `.castShadow` of `boolean` and added tags

ycw 4 years ago
parent
commit
819a497fc2
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/lights/AmbientLight.d.ts

+ 3 - 1
src/lights/AmbientLight.d.ts

@@ -22,8 +22,10 @@ export class AmbientLight extends Light {
 
 
 	/**
 	/**
 	 * This light cannot be used to cast shadows as it does not have a direction.
 	 * This light cannot be used to cast shadows as it does not have a direction.
+	 * @default false
+	 * @override
 	 */
 	 */
-	castShadow: undefined;
+	castShadow: boolean;
 	readonly isAmbientLight: true;
 	readonly isAmbientLight: true;
 
 
 }
 }