Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(compiler-sfc): type-only defineProps does not recognize Promise (fix #5941) #5943

Merged
merged 1 commit into from May 18, 2022

Conversation

lseeker
Copy link
Contributor

@lseeker lseeker commented May 18, 2022

Add 'Promise' to inferRuntimeType() to recognize type-only defineProps Promise declaration.

@yyx990803 yyx990803 merged commit 991d623 into vuejs:main May 18, 2022
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.

None yet

2 participants