Skip to content

Commit

Permalink
fix: incorrect MathRepresentation type (#456)
Browse files Browse the repository at this point in the history
Co-authored-by: Alvaro Saburido <[email protected]>
  • Loading branch information
alexzhang1030 and alvarosabu authored Dec 13, 2023
1 parent 0f83422 commit 314b088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 314b088

Please sign in to comment.