Closed bperel closed 3 months ago
Hi @bperel thanks for raising this. Seems to be a typing issue because the composable are indeed correctly exported in the package
@alvarosabu Hi, just stumbled upon this issue when I was solving the same problem but with useLoader. Based on your response to this issue I guess it will be typing issue as well
@bperel @danielklein-arch please update the core to https://github.com/Tresjs/tres/releases/tag/3.8.1
@alvarosabu I've upgraded deps in the nuxt module we use :) https://github.com/Tresjs/nuxt/pull/91
Describe the bug
I am importing useSeek in my project:
Since the upgrade to Tres 3.8.0, I get the error
Module ""@tresjs/core"" has no exported member "useSeek". Did you mean to use "import useSeek from "@tresjs/core"" instead?
Indeed, useSeek, useRaycaster and useLoader which are exported in src/composables/index.d.ts don't seem to be present in the package anymore.
Reproduction
https://www.runpkg.com/?@tresjs/core@3.8.0/dist/src/composables/index.d.ts
Steps to reproduce
Unfortunately I didn't manage to reproduce the issue on Stackblitz, but the link above shows that the 3 files are missing from the directory where it's supposed to be imported from.
System Info
No response
Used Package Manager
pnpm
Code of Conduct