Vue: The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed. #2643
Unanswered
stephane303
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
-
I am running into this error on a brand new project in vue3.
"typescript": "~5.4.0",
"pinia": "^2.1.7",
"vue": "^3.4.21"
And I am getting this error from Typescript:
Vue: The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed.
I only manage to get rid of it defining a State type, is there another way ?
Beta Was this translation helpful? Give feedback.
All reactions