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 have searched for related issues and found none that matched my issue.
- I have read 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
Expected Result
I expect a no-floating-promises error on the test()
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
Versions
Metadata
Metadata
Assignees
Labels
Go ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issueSomething isn't workingSomething isn't working