nuxt / scripts

Plug-and-play script optimization for Nuxt applications. (Public Preview)
https://scripts.nuxt.com
MIT License
126 stars 8 forks source link

fix: force useRegistry return type #73

Closed huang-julien closed 1 month ago

huang-julien commented 1 month ago

Currently building nuxt-scripts makes all registry scripts function type return any in declaration files. Forcing the return type of useRgistryScript fix this issue

fix #72

vercel[bot] commented 1 month ago

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

Name Status Preview Comments Updated (UTC)
scripts-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 24, 2024 9:48pm
scripts-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 24, 2024 9:48pm
harlan-zw commented 1 month ago

Thanks!