Looking-Glass / looking-glass-webxr

WebXR for Looking Glass displays
https://docs.lookingglassfactory.com/developer-tools/webxr
Apache License 2.0
66 stars 16 forks source link

fix: export declaration file #55

Open sawa-zen opened 2 months ago

sawa-zen commented 2 months ago

Why

After installing the looking-glass-webxr package via npm, I encountered an issue where the TypeScript type definition files (.d.ts) could not be found or loaded. This results in errors during development, as the necessary type definitions are missing.

CleanShot 2024-09-03 at 01 27 01@2x

refs: https://github.com/Looking-Glass/looking-glass-webxr/issues/54

What

I added webxr.ts and modified it to export all LookingGlass classes.

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
looking-glass-webxr ✅ Ready (Inspect) Visit Preview Sep 5, 2024 4:24pm
BryanChrisBrown commented 2 months ago

Thanks for making the PR here! Apologies it's taken me a while to get to it, I was on vacation when it came in and missed the notification!

This looks good to me! I'll merge it and push a new release, 0.6.1