Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Open
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 havesearched for related issues and found none that matched my issue.
- I haveread the FAQ and my problem is not listed.
Relevant Package
website
Playground Link
Repro Code
import{describe,it}from'node:test';describe('a test',()=>{it('asynchronous',async()=>{console.log('foo');});});
ESLint Config
{"extends":["plugin:@typescript-eslint/strict-type-checked"],"rules":{"@typescript-eslint/no-floating-promises":"warn"}}
tsconfig
{"compilerOptions": {"strict":true }}
Expected Result
I expect a no-floating-promises error on thetest()
call
Actual Result
There were two "Unsafe call of a(n)error
type typed value" errors instead - as if the Automatic Type Acquisition didn't acquire the types at all for the linter.
Additional Info
No response