Bug: [no-unsafe-argument] stackoverflow crash when using recursive types #5014
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=4.6.2&sourceType=module&code=C4TwDgpgBAShDGBXATgZwJYDcIEFnIEMQoBeKPQkAHjiTS13yID4BuAKADNEA7eYdAHseUdABMIPAaCoAVZgApUiAEYArBMABcUWQEodsgN7soZqMgjAUI5es0cAvu3jDUwKAXxbaKDNgoiUigAbQBdDi9kADowRFQACwUogBoovQ5xSWkQZPwMoA&rules=N4IgAgLgngDgpgZwMYCcCWMIFpEBs0B2EA9AQPZYCuBCAhgGZxa0oDmlAtnESAFwhwUKMihABfIA&tsConfig=N4XyA
Repro Code
ESLint Config
tsconfig
Expected Result
I expected no errors reported
Actual Result
Stack overflow error:
Additional Info
Versions
@typescript-eslint/eslint-plugin
5.25.0
@typescript-eslint/parser
5.25.0
TypeScript
4.6.4
ESLint
8.15.0
node
16.15.0
The text was updated successfully, but these errors were encountered: