Issue with TS in vue template tag #746
-
My current setup includes InertiaJS, Vue 3 and
I have already followed the guide in https://github.com/tighten/ziggy?tab=readme-ov-file#typescript to add the The plugin is imported from import { ZiggyVue } from '../../vendor/tightenco/ziggy'
// ...
createApp(...)
.use(ZiggyVue) How can I make the TS shut up? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Interesting, I have apps with basically this same setup and I don't remember having this issue but I'm not sure why. I'll take a look this week. |
Beta Was this translation helpful? Give feedback.
-
Does adding this under your other global route declaration in you declare module 'vue' {
interface ComponentCustomProperties {
route: typeof routeFn;
}
} |
Beta Was this translation helpful? Give feedback.
Does adding this under your other global route declaration in you
.d.ts
fix this?