Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels