TS inference is not working properly #1674
Unanswered
snake-py
asked this question in
Help and Questions
Replies: 0 comments
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.
-
Reproduction
create a store and retrun a string ref. Refrence the string ref directly
Steps to reproduce the bug
Import a pina store slice and refrence a ref directly:
Expected behavior
That ts shows me the correct type on the object
Actual behavior
ts will show me that this is a string but in reality it is Ref
Additional information
tsconfig
Vue plugin volar
TS version "^4.4.4"
Beta Was this translation helpful? Give feedback.
All reactions