query is string | SavedFilter. The code needs uppercase behavior only when the value is a string.
Read the full lesson
Sign up free: one personalized lesson every day, matched to your role and goals.
Already have an account? Sign in
Choose a narrowing strategy when a union type blocks an unsafe operation.
query is string | SavedFilter. The code needs uppercase behavior only when the value is a string.
Sign up free: one personalized lesson every day, matched to your role and goals.
Already have an account? Sign in