From 56fb90a1e2185d561f5cc62ce1d4de6de43ef85c Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Wed, 31 Aug 2022 22:10:43 -0400 Subject: [PATCH] fix(types): @react-three/drei declaration files --- packages/fiber/src/three-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fiber/src/three-types.ts b/packages/fiber/src/three-types.ts index 5cd2ba0f0c..9c27cd80a1 100644 --- a/packages/fiber/src/three-types.ts +++ b/packages/fiber/src/three-types.ts @@ -2,7 +2,7 @@ import * as THREE from 'three' import { EventHandlers } from './core/events' import { AttachType } from './core/renderer' -export type NonFunctionKeys = { [K in keyof T]: T[K] extends Function ? never : K }[keyof T] +export type NonFunctionKeys = { [K in keyof T]-?: T[K] extends Function ? never : K }[keyof T] export type Overwrite = Omit> & O /**