I'd add an explicit return type annotation on `fetch` as `: Promise<Response>` so ts will catch if y

I'd add an explicit return type annotation on
fetch
as : Promise<Response> so ts will catch if you ever accidentally return something else
Was this page helpful?