You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
I feel like I'm just hitting a wall because this is not supported, which is kind of a bummer because I wanted the power of TypeScript combined with Vue.
I may have missed something or I'm just doing it wrong, if anyone have an idea please share :)
The text was updated successfully, but these errors were encountered:
Unfortunately this is expected at the moment. This is just something the Vetur plugin may not yet support. Our team is willing to help the community where we can, but it's definitely no small task. CCing @octref.
Alright thanks for the quick answer, I can keep on working without worrying to much.
Thanks for your work, there was really no struggle to setup my project by following your tutorial 👍
Hello,
I've been struggling with getting completion on props given by a parent component in .vue files.
My goal is to have autocompletion inside the template on the
myClass
object of typeTestClass
. So I'm trying to find a way to type my variable.Here's what I've tried until now:
Using a computed property which return the type I want. No IntelliSense.
Creating a new variable in data which copy the initial value. No IntelliSense.
Change props declaration to be able to specify the type.
error TS2693: 'TestClass' only refers to a type, but is being used as a value here.
Obviously the same error when trying to set the
type
propertyI feel like I'm just hitting a wall because this is not supported, which is kind of a bummer because I wanted the power of TypeScript combined with Vue.
I may have missed something or I'm just doing it wrong, if anyone have an idea please share :)
The text was updated successfully, but these errors were encountered: