From e4f40b4033d18422065828f9c070fb94302e594a Mon Sep 17 00:00:00 2001 From: Quinton Lee Date: Thu, 17 Aug 2017 12:50:25 -0500 Subject: [PATCH] three: Fix PointLight definition --- types/three/three-core.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index c3a6a661f5..71dc6f4386 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -1987,10 +1987,14 @@ export class PointLight extends Light { distance: number; decay: number; - shadow: LightShadow; + shadow: PointLightShadow; power: number; } +export class PointLightShadow extends LightShadow { + camera: PerspectiveCamera; +} + /** * A point light that can cast shadow in one direction. */