Bug(website): Acquired types are shown in the editor but not reflected in linting #11120
Open
4 tasks done
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
website: playground
Before You File a Bug Report Please Confirm You Have Done The Following...
Relevant Package
website
Playground Link
https://typescript-eslint.io/play/#ts=5.8.2&fileType=.tsx&code=JYWwDg9gTgLgBAbzgEwKYGcDGVgCNUA0cw8AvnAGZQQhwDkAdhGgFwwYx0DcAUD2lhz4AFHQCGcduk5FhASjgBeAHyIecYjFFj0ATwaYAFtSYBXdHSI79mOPKWqE6jXEwQG6CABtUAOi8QAOaiFBAQdHK8GqSRPDFcQA&eslintrc=N4KABGBECmAeAu0B2ATAzpAXGA2pADgDYCuA5gJZKYAC8AnvtGgMYBO5%2B8AtE4ZfAHo08ds271GXZgAtozANbQUkALoAacFFbFCTLGFAQIkWgyZsO3XvwFIA9lwBmhOwEN4lUl3ys7AW3I0PWxIAHdXViRITQBfEBigA&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eFYDAruuGAL4g9A&tokens=false
Repro Code
ESLint Config
tsconfig
Expected Result
I expect a no-floating-promises error on the
test()
callActual 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
The text was updated successfully, but these errors were encountered: