Closed phillt closed 1 month ago
Name | Link |
---|---|
Latest commit | 10f700ad3201e1e635c65580af1e9e75568c9124 |
Latest deploy log | https://app.netlify.com/sites/vuejs/deploys/662178126e8dc30008a21794 |
Deploy Preview | https://deploy-preview-2809--vuejs.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
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 https://github.com/vuejs/docs/pull/2809#issuecomment-2065140450, 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 lang="ts"
on script block.
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.
π€¦π» the error is in me. What a twist. I didn't RTFM well. Thank you.
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