You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I am using routing guards to ensure the given parameters are of a correct type - however it causes a lot of unnecessary code repetition - due to beforeEnter being a macro and cannot share any code
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
I am using routing guards to ensure the given parameters are of a correct type - however it causes a lot of unnecessary code repetition - due to beforeEnter being a macro and cannot share any code
another thing is that i cannot use any casts or
satisfies
inside ofbeforeEnter
due to it throwing an errorBeta Was this translation helpful? Give feedback.
All reactions