Further align with @typescript-eslint/types

#7

Issue

Open
M
manuel3108
Mar 6, 2025, 5:24 PM

This is an awesome start bc39dcb but sadly there a a few more places that don't match.

A good start would be by having a look at the latest esrap version (or more specifically this pr), and go through the few ignored type-check warnings.

Here is a list of what's currently not entirely correct according to the sepc:

Typeproperty isproperty should be
TSTypeParameter (property name)typeof stringtypeof Identifier
TSFunctionTypeparametersparams
TSFunctionTypetypeAnnotation.typeAnnotationtypeParameters
TSMethodSignatureparametersparams
TSMethodSignaturetypeAnnotationtypeParameters

This is an incomplete list of course. There are also two or there more type errors inside esrap that might be related to this, or to wrong type expectations in esrap. I have excluded those cases in the list above.

Info

Assignees None
Labels None
Milestone None