nuxt
nuxt copied to clipboard
Make global callback hook type available
Description
As a developer of TresJS I want to have the type of the global callback hook (window.parent.parent.__TRES__DEVTOOLS__.cb), so I can use it in core and make it more type safe.
Suggested solution
Expose the type.
Alternative
No response
Additional context
No response
Validations
- [x] I agree to follow this project's Code of Conduct
- [x] Read the Contributing Guidelines.
- [x] Read the docs.
- [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.