RouteRecordRaw can not be used without setting all the properties of its union types #1767
Unanswered
Adonaigm
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
-
RouteRecordRaw can not be used without setting all the properties of its union types. If I only want to work with path, name and component properties, the compiler force me to set all the properties defined in the union types. It neither can be cast to the specific type because they are not exported. So, if I want to define my routes in separate properties, I have to use the 'any' type instead.
All help is welcome, thanks.
Beta Was this translation helpful? Give feedback.
All reactions