Closed as not planned
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Playground Link
Repro Code
async function fn() {
await Promise.reject(3).finally(async () => {});
}
ESLint Config
module.exports = {
parser: "@typescript-eslint/parser",
rules: {
"@typescript-eslint/no-misused-promises": "error"
},
};
tsconfig
Expected Result
No error
Actual Result
Error:
Promise returned in function argument where a void return was expected
Additional Info
No response
Metadata
Metadata
Assignees
Labels
Something isn't workingSomething isn't workingIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues that are closed as they are working as intendedIssues that are closed as they are working as intended