Bug: JSDocNonNullableType
has extra nested typeAnnotation
with invalid position
#11064
Closed
4 tasks done
Labels
bug
Something isn't working
locked due to age
Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.
wontfix
This will not be worked on
working as intended
Issues that are closed as they are working as intended
Before You File a Bug Report Please Confirm You Have Done The Following...
Relevant Package
parser
Playground Link
https://typescript-eslint.io/play/#ts=5.4.3&showAST=es&fileType=.tsx&code=GYVwdgxgLglg9mABMAjACgIYC5EbATwEocNEYBnRcqAJxjAHMBCAbwChFEaBTKEGpLRDcA3GwC%2BbIA&eslintrc=N4KABGBEBOCuA2BTAzpAXGYBfEWg&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA&tokens=false
Repro Code
ESLint Config
tsconfig
Expected Result
Actual Result
Additional Info
I'm not sure if extra
typeAnnotation
nesting is intended or not, but at least its starting position should be fixed?Versions
@typescript-eslint/parser
8.29.1
The text was updated successfully, but these errors were encountered: