Skip to content

Type 'DefineComponent' was incorrectly exported in the code of vue-next#301

Open
3biubiu wants to merge 1 commit intopd4d10:mainfrom
3biubiu:main
Open

Type 'DefineComponent' was incorrectly exported in the code of vue-next#301
3biubiu wants to merge 1 commit intopd4d10:mainfrom
3biubiu:main

Conversation

@3biubiu
Copy link
Copy Markdown

@3biubiu 3biubiu commented Apr 24, 2023

I found an error when I'm using vue3 with typescript:
image

to solve it, shouldn't export a type here:
image

'DefineComponent' should be 'defineComponent'

image

@3biubiu 3biubiu changed the title defineComponent Type 'DefineComponent' was incorrectly exported in the code of vue-next Apr 25, 2023
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

Successfully merging this pull request may close these issues.

1 participant