-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
sfc-compiler doesn't handle semicolons in interface declarations properly when compiling script setup #4505
Labels
Comments
see playground this will works fine. interface Props {
prop1: string
prop2: string
prop3: string
} |
LinusBorg
changed the title
The problem of using compiler-sfc to compile script setup
sfc-compiler doesn't handle semicolons in interface declarations properly when compiling script setup
Sep 3, 2021
Semicolons are valid in Type declarations (even though not commonly used in my experience), so this should be rated as a bug |
webfansplz
pushed a commit
to webfansplz/vue-next
that referenced
this issue
Sep 3, 2021
yyx990803
pushed a commit
that referenced
this issue
Sep 5, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
3.2.8
Reproduction link
github.com
Steps to reproduce
git clone
yarn
node build.js
What is expected?
Grammatical errors
What is actually happening?
Grammatically correct
The text was updated successfully, but these errors were encountered: