From 0ad80d0f0f5464b9b36d120cf5e577bd5307d7f6 Mon Sep 17 00:00:00 2001 From: Cody Bennett Date: Sun, 3 Dec 2023 05:40:18 -0600 Subject: [PATCH] fix(types): preserve deprecated XR type annotations (#3111) --- packages/fiber/src/core/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fiber/src/core/utils.ts b/packages/fiber/src/core/utils.ts index ffaaa0d56d..38672cd347 100644 --- a/packages/fiber/src/core/utils.ts +++ b/packages/fiber/src/core/utils.ts @@ -7,7 +7,7 @@ import { AttachType, catalogue, Instance, InstanceProps, LocalState } from './re import { Dpr, Renderer, RootState, Size } from './store' // < r141 shipped vendored types https://github.com/pmndrs/react-three-fiber/issues/2501 -// @ts-ignore +/** @ts-ignore */ type _DeprecatedXRFrame = THREE.XRFrame export type _XRFrame = THREE.WebGLRenderTargetOptions extends { samples?: number } ? XRFrame : _DeprecatedXRFrame