vuejs / router

🚦 The official router for Vue.js
https://router.vuejs.org/
MIT License
3.93k stars 1.19k forks source link

"Property '$t' does not exist on type 'ComponentCustomProperties'" #2327

Closed PierreNAPOLETANO closed 3 months ago

PierreNAPOLETANO commented 3 months ago

Reproduction

Reproduction

Steps to reproduce the bug

  1. Use version 4.4.0 of vue-router
  2. Import type "ComponentCustomProperties" from vue
  3. create variable let $t: ComponentCustomProperties['$t'];
  4. update the vue-router to version 4.4.2

Expected behavior

I'm waiting for help or a solution on how to resolve this error.

image

Actual behavior

I'm waiting for help or a solution on how to resolve this error.

image

Additional information

No response

posva commented 3 months ago

Duplicate of https://github.com/vuejs/router/discussions/2321