Card 1 of 32, TypeScript in practice. Showing the question.
Question
unknown vs any vs never - when do you reach for each?
Answer
any switches checking off and infects everything it touches; unknown is the safe top type you must narrow before use; never is the empty type returned by functions that never return and left over from exhaustive narrowing. Type external input as unknown, never any. id: b8d77ea2-5677-4eb2-bd9a-d40594866c50
You wrote
⌘/Ctrl + Enter turn over · ← → move · 1 held · 2 revisit · S shuffle