diff --git a/src/types/index.ts b/src/types/index.ts index e03d5a2ef..0de3110b1 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -126,7 +126,7 @@ export interface EventHandlers { } interface MathRepresentation { - set(...args: number[]): any + set(...args: number[] | [THREE.ColorRepresentation]): any } interface VectorRepresentation extends MathRepresentation { setScalar(s: number): any