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

Private variables with vue-cli not possible -> Unexpected token #1463

Closed
p-kuen opened this issue Jun 4, 2018 · 2 comments
Closed

Private variables with vue-cli not possible -> Unexpected token #1463

p-kuen opened this issue Jun 4, 2018 · 2 comments
Labels
needs reproduction This issue is missing a minimal runnable reproduction, provided by the author

Comments

@p-kuen
Copy link

p-kuen commented Jun 4, 2018

Version

3.0.0-beta.15

Reproduction link

https://github.com/Patcher56/vue-flowy/tree/02c6861e58ffe9ed2f38282e457e7524b8f4cbe8

Steps to reproduce

Look at this stackoverflow problem:

https://stackoverflow.com/questions/50685486/unexpected-token-for-private-variables-in-typescript-2-9-1?noredirect=1#comment88380737_50685486

It seems like it is a vue-cli problem, so I am posting this issue.

What is expected?

Building without warnings and errors

What is actually happening?

I got an error like described in the stackoverflow link. (Unexpected token when the private keyword is used)

@yyx990803
Copy link
Member

Please provide an actual minimal reproduction.

@yyx990803 yyx990803 added the needs reproduction This issue is missing a minimal runnable reproduction, provided by the author label Jun 5, 2018
@p-kuen
Copy link
Author

p-kuen commented Jun 5, 2018

Sorry - cleaned up my code a lot and adopted my "old code" to a new one created by vue create with typescript from the begin.

Now the problem is solved and tslint shows no errors anymore.
Thank you 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reproduction This issue is missing a minimal runnable reproduction, provided by the author
Projects
None yet
Development

No branches or pull requests

2 participants