Skip to content

Export types of built-in components #13002

@kingyue737

Description

@kingyue737

What problem does this feature solve?

Vue 2.7 does not export types of built-in components like Transition and TransitionGroup (In Vue 3 they are exported via @vue/runtime-dom). As a consequence, users cannot get intellisense and type check with @vue/language-tools. Furthermore, VSCode will show warning if vueCompilerOptions.jsxTemplates is turned on in tsconfig.

image

Ref: vuejs/language-tools#2540

What does the proposed API look like?

Line 76
https://www.unpkg.com/browse/@vue/runtime-dom@3.2.47/dist/runtime-dom.d.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy