Skip to content

[BUG] Report bug v-slots No type hint #744

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
maxfrees opened this issue Feb 26, 2025 · 3 comments
Open

[BUG] Report bug v-slots No type hint #744

maxfrees opened this issue Feb 26, 2025 · 3 comments

Comments

@maxfrees
Copy link

v-slots No type hint

export interface ASlots{
'header-action': () => VNode[];
}

  slots: Object as SlotsType<ASlots>,

Image

@zhiyuanzmj
Copy link
Member

You can use @vue-macros/jsx-directive, and use it's volar plugin to get type support.

@KaelWD
Copy link
Contributor

KaelWD commented May 15, 2025

@zhiyuanzmj
Copy link
Member

In vue-jsx-vapor I will provide vue directives types support by default through Volar plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants