Bug: [no-floating-promises] support TsAsExpression #8692
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Before You File a Bug Report Please Confirm You Have Done The Following...
Playground Link
https://typescript-eslint.io/play/#ts=5.4.2&fileType=.tsx&code=C4TwDgpgBAYg9nKBeKAFATnAtgSwM4QA8AdgK5YBGE6AfFAGRQDeUAFhCAPwBcUew6HMQDmUAL4BuALAAoADYRgUCgEMAXmuRQVeEMQDGUABQBKZHQBM0mao2nteWAglA&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQAIBcBPABxQGNoBLY-AWhXkoDt8B6Jge1oDN4OBDfMwDmtYtA4BbSshTooiaBOiRwYAL4h1QA&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA&tokens=false
Repro Code
ESLint Config
tsconfig
Expected Result
I expected that the 3rd line should report the absence of handling the rejection of the promise.
Actual Result
There was no error on 3rd line
Additional Info
No response
The text was updated successfully, but these errors were encountered: