Procházet zdrojové kódy

fix: incorrect MathRepresentation type (#456)

Co-authored-by: Alvaro Saburido <alvaro.saburido@gmail.com>
Alex před 1 rokem
rodič
revize
314b0883b7
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/types/index.ts

+ 1 - 1
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