Back

Fix Promise Type Not Propagating Through Async Functions

Problem

Async function return type is inferred as Promise<any> instead of Promise<SpecificType>.

Code Editor