-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 syntax error in defineEmits example #2809
Conversation
✅ Deploy Preview for vuejs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
semi colon is not required there. It’s valid syntax. |
compiler throws errors, are you sure? Perhaps the error is within the bundler and not the docs.
…On Thu, Apr 18, 2024 at 12:53 PM Divyansh Singh ***@***.***> wrote:
semi colon is not required there. It’s valid syntax.
—
Reply to this email directly, view it on GitHub
<#2809 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATXSOMH3S4DGMPWZ2BDIZDY6AQCFAVCNFSM6AAAAABGN5J2MKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRVGE2DANBVGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You might not have specified |
In all fairness, there could be something wrong with my setup. |
If it's on my end, it's not that big of a deal. But I just wanted to make sure the docs were good. Thanks for taking the time to review. |
You need newline there or comma or semi colon. The docs have newline. They are correct. |
Description of Problem
Current documentation of Type-only props/emit declarations has a syntax error in the type parameters of
defineEmits
. It is missing a semi colon.Proposed Solution
Add missing semi colon:
Additional Information
N/A