Ray

Results 281 comments of Ray

`type ObjectEmitsOptions = Record any) | null>;` And you just make `EmitsOptions` to extend `ObjectEmitsOptions`, thus `EmitsOptions` became `{ [x: string]: ((...args: any[]) => any) | null; }`

This is likely a vue core issue

If I understood correctly, using hybridMode will make other ts plugins work in `.vue` files? If hybridMode is disabled then some vscode extensions, such as styled-components won't work

Unfortunately I'm not familiar about volar.js 🫠

Could you please provide a minimal reproduction?

Are you using vue 2.7? The exported type name from `vue` package is called `Vue3Instance` to tell users its began will be like vue 3, and this doesn't matter.

Please provide a minimal reproduction to help debug, thanks!

https://github.com/vuejs/core/issues/9296