victorgarciaesgi / nuxt-typed-router

🚦Provide autocompletion and typecheck to Nuxt router
https://nuxt-typed-router.vercel.app
MIT License
362 stars 12 forks source link

fix(types): update module augmentation #146

Closed dargmuesli closed 7 months ago

dargmuesli commented 7 months ago

Since https://github.com/nuxt/nuxt/pull/26541 multiple modules need to be augmented for type checking to continue working as expected.

The mentioned PR is included in Nuxt starting with version 3.11.2.

dargmuesli commented 7 months ago

Example of a failing workflow in a PR that update Nuxt from 3.11.1 to 3.11.2: https://github.com/maevsi/maevsi/actions/runs/8714930888/job/23906009601?pr=1576#step:7:835

victorgarciaesgi commented 7 months ago

Oh good catch! That's why it failed and i think #143 is related

victorgarciaesgi commented 7 months ago

Testing this and releasing asap