From cb1c6b9a59e49cc5ba8d9fdbd3a681b8840786cd Mon Sep 17 00:00:00 2001 From: Cody Bennett <23324155+CodyJasonBennett@users.noreply.github.com> Date: Wed, 31 Aug 2022 00:16:02 -0500 Subject: [PATCH] fix(types): ensure instanceprops override nodeprops --- packages/fiber/src/three-types.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/fiber/src/three-types.ts b/packages/fiber/src/three-types.ts index d660d1eae2..a4f30be953 100644 --- a/packages/fiber/src/three-types.ts +++ b/packages/fiber/src/three-types.ts @@ -36,10 +36,11 @@ interface ReactProps

{ key?: React.Key } -type NodeProps = Omit, 'object'> & - Partial & MathProps

& EventProps

> +type NodeProps = Partial< + Overwrite, ReactProps

& MathProps

& EventProps

> +> -export type Node = Mutable>, NodeProps>> +export type Node = Mutable, Omit, 'object'>>> type ThreeExports = typeof THREE type ThreeElementsImpl = {