Skip to main content
Frontend
Interviews
.dev
Problems
741. TypeScript unknown at API Boundary
Medium
•
...
Select the best answer.
const
payload
:
unknown
=
JSON
.
parse
(
raw
)
;
Best next step before payload.user.id access?
Cast to any
Validate and narrow shape
Use non-null assertion
Access directly
Submit Answer
Reveal Answer
Select an option and submit your answer.
Next Problem
Auto-advance on correct answer