From 020fd6080303a592c108f867c093b86532baa25e Mon Sep 17 00:00:00 2001 From: Serkan Ensoner Date: Mon, 5 Aug 2024 12:47:03 -0700 Subject: [PATCH 1/2] fix: add `WebXRManager` exports back --- types/three/src/Three.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/three/src/Three.d.ts b/types/three/src/Three.d.ts index 2cf57b028..885e13523 100644 --- a/types/three/src/Three.d.ts +++ b/types/three/src/Three.d.ts @@ -157,6 +157,7 @@ export type { XRJointSpace, XRTargetRaySpace, } from "./renderers/webxr/WebXRController.js"; +export * from "./renderers/webxr/WebXRManager.js"; export * from "./scenes/Fog.js"; export * from "./scenes/FogExp2.js"; export * from "./scenes/Scene.js"; From 7405e28225fe89e95ba49ad5c67153ee263e15d1 Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Mon, 5 Aug 2024 15:57:34 -0400 Subject: [PATCH 2/2] Export types only --- types/three/src/Three.WebGPU.d.ts | 6 ++++++ types/three/src/Three.d.ts | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/types/three/src/Three.WebGPU.d.ts b/types/three/src/Three.WebGPU.d.ts index e6b90a790..f4a295d5f 100644 --- a/types/three/src/Three.WebGPU.d.ts +++ b/types/three/src/Three.WebGPU.d.ts @@ -157,6 +157,12 @@ export type { XRJointSpace, XRTargetRaySpace, } from "./renderers/webxr/WebXRController.js"; +export type { + WebXRArrayCamera, + WebXRCamera, + WebXRManager, + WebXRManagerEventMap, +} from "./renderers/webxr/WebXRManager.js"; export * from "./scenes/Fog.js"; export * from "./scenes/FogExp2.js"; export * from "./scenes/Scene.js"; diff --git a/types/three/src/Three.d.ts b/types/three/src/Three.d.ts index 885e13523..27b4fc4c5 100644 --- a/types/three/src/Three.d.ts +++ b/types/three/src/Three.d.ts @@ -157,7 +157,12 @@ export type { XRJointSpace, XRTargetRaySpace, } from "./renderers/webxr/WebXRController.js"; -export * from "./renderers/webxr/WebXRManager.js"; +export type { + WebXRArrayCamera, + WebXRCamera, + WebXRManager, + WebXRManagerEventMap, +} from "./renderers/webxr/WebXRManager.js"; export * from "./scenes/Fog.js"; export * from "./scenes/FogExp2.js"; export * from "./scenes/Scene.js";