Why a getter can't call a action in typescript? #1390
Unanswered
zh-pan
asked this question in
Help and Questions
Replies: 1 comment 2 replies
-
I see the answer: #450 (comment) But if this is the case, when I need get some 'like button' object, and when anyone button clicked, need call some action. |
Beta Was this translation helpful? Give feedback.
2 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.
-
code like this:
If I call the
stop
func in thesomething
, vscode will be display red line for warn. And runyarn build
will be fail, but runyarn build-only
will be success.(vite + typescript + vue3 + pinia)The warn like this:
Property 'stop' does not exist on type '...'
Beta Was this translation helpful? Give feedback.
All reactions