Replies: 1 comment 3 replies
-
As an alternative, you can try tsslint, which has first-party Vue support based on |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I filed a ticket against
eslint-plugin-vue
and commented on a ticket here and onvue-eslint-parser
, but starting a discussion because I don't really know where it belongs and nobody is likely to see the comment on a closed ticket.What did you do?
Occurs when assigning to a variable or passing as a parameter to another function
What did you expect to happen?
Vue instance methods and computed properties to be understood as already bound.
What actually happened?
Hitting this for all uses of computed properties and methods, which are all automatically bound by Vue already.
eslint-config-typescript
andvue-eslint-parser
. Also,vue-tsc
misunderstands computed properties as () -> ActualType instead of ActualType resulting in errors like Argument of type '() => ActualType' is not assignable to parameter of type 'ActualType'eslint.config.js
:tsconfig.json
:Beta Was this translation helpful? Give feedback.
All reactions