[return-await] wrong autofix of return undefined ?? promise
to return await undefined ?? promise
#4090
Closed
3 tasks done
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
good first issue
Good for newcomers
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
tsconfig: https://github.com/sindresorhus/tsconfig/blob/67d56ca87d2790081696fe3d745befa7e9ff38b8/tsconfig.json
Expected Result
Actual Result
Versions
@typescript-eslint/eslint-plugin
5.3.0
@typescript-eslint/parser
5.3.0
TypeScript
4.4.4
ESLint
8.1.0
node
16.4.2
The text was updated successfully, but these errors were encountered: