Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

vrm: Wrong type for parameter in generated TS definition file causes TS error #44

Open
Srile opened this issue Aug 29, 2023 · 0 comments

Comments

@Srile
Copy link
Contributor

Srile commented Aug 29, 2023

When trying to run tsc on my project after converting it to TypeScript, I noticed an error coming from the latest version (1.0.5) of this package.

node_modules/@wonderlandengine/components/dist/vrm.d.ts(130,32): error TS2304: Cannot find name 'GLTFExtensions'.

This is likely caused by the comment above the function declaration of the _initializeVrm function having @param {GLTFExtensions} in there, which sets the type of the parameter of the function to GLTFExtensions.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant