TypeScript Version: typescript@next
Search Terms:
async, code fix
Code
const foo = function y() { return fetch('https://typescriptlang.org').then(result => { console.log(result) }); };
Expected behavior:
Suggestion diagnostic on y.
Actual behavior:
Suggestion diagnostic on foo.
Related Issues:
#26374