Skip to content

Support component TS type resolving in Volar context #53

Closed
@ShenQingchuan

Description

@ShenQingchuan

Purpose

Make Vue Vine become usage compatible with Vue SFC

i.e. user can import the components that export from .vine.ts in .vue file, and no type issues.

This issue may need Volar 2.0 TS Plugin's help.

We need to implicitly convert the "Vine component function" type to a "Vue component" object's type, based on information like props, emits and so on ...

I'd be so appreciated if @johnsoncodehk could provide some information about it. Thanks ❤️ !

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions