From 1e788994d0404f503e1b99a2ebdeb0b3eabf4ee0 Mon Sep 17 00:00:00 2001 From: Devilsparta Date: Mon, 5 Nov 2018 20:44:27 +0800 Subject: [PATCH] change Color constructor --- types/three/three-core.d.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index e9903ba4fd..f47655416e 100755 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -3278,9 +3278,7 @@ export interface HSL { * @see src/math/Color.js */ export class Color { - constructor(color?: Color); - constructor(color?: string); - constructor(color?: number); + constructor(color?: Color|string|number); constructor(r: number, g: number, b: number); /**