Skip to content

tsconfig 配置 vue-jsx-vapor 在webstorm下不生效 #48

@xiaozhu2024

Description

@xiaozhu2024

在tsconfig.json中配置

    "jsxImportSource": "vue-jsx-vapor",

后 webstorm无法正常识别

Image

在vscode正常的,

改回'vue'是正常的,

大致看了一下vue的jsx-runtime的实现,好像咱们的与vue的实现不太一样,导致的返回值类型的报错,大佬,有没有好的处理方案或者可以兼容一下吗
https://github.com/vuejs/core/blob/main/packages/vue/jsx-runtime/index.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