Back to Challenges
Back
Fix Promise Type Not Propagating Through Async Functions
Medium
Problem
Async function return type is inferred as Promise<any> instead of Promise<SpecificType>.
Code Editor
Solution
Fullscreen
Reset