Skip to content

Commit

Permalink
Tighten allowed type for object prop on primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Dec 7, 2022
1 parent 0349ec9 commit 43e3c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fiber/src/three-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export type MeshMatcapMaterialProps = MaterialNode<THREE.MeshMatcapMaterial, [TH
export type LineDashedMaterialProps = MaterialNode<THREE.LineDashedMaterial, [THREE.LineDashedMaterialParameters]>
export type LineBasicMaterialProps = MaterialNode<THREE.LineBasicMaterial, [THREE.LineBasicMaterialParameters]>

export type PrimitiveProps = { object: any } & { [properties: string]: any }
export type PrimitiveProps = { object: object } & { [properties: string]: any }

export type LightProps = LightNode<THREE.Light, typeof THREE.Light>
export type SpotLightShadowProps = Node<THREE.SpotLightShadow, typeof THREE.SpotLightShadow>
Expand Down

0 comments on commit 43e3c40

Please sign in to comment.