Skip to content

Fix WebXRController export#2061

Merged
Methuselah96 merged 2 commits intothree-types:masterfrom
potrepka:fix-web-xr-controller
Feb 27, 2026
Merged

Fix WebXRController export#2061
Methuselah96 merged 2 commits intothree-types:masterfrom
potrepka:fix-web-xr-controller

Conversation

@potrepka
Copy link
Contributor

WebXRController exports in Three.d.ts are incorrect (type-only) and are overshadowing exports in Three.Core.d.ts.

Fix: Remove the WebXRController exports from Three.d.ts.

Copy link
Contributor

@Methuselah96 Methuselah96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! It looks like WebXRController is exported as a value from Three.Core.js, but the rest of the exports are still type-only exports so I've updated the export in Three.Core.d.ts to reflect that.

@Methuselah96 Methuselah96 merged commit d59ab11 into three-types:master Feb 27, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants