Skip to content

Default export of the module has or is using private name 'Props'.ts #1678

@kmq116

Description

@kmq116

I create a vue3 + typescript + vite project , when I packaging a component by <script setup lang="ts">, I refer to the documents of <script setup>
微信截图_20220422141917

but get this issue
微信截图_20220422142053

then I tried using the following
微信截图_20220422142409
I can see the error disappear
I wonder what the reason is 🤔

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