Skip to content

Further align with @typescript-eslint/types #7

Open
@manuel3108

Description

@manuel3108

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:

Type property is property should be
TSTypeParameter (property name) typeof string typeof Identifier
TSFunctionType parameters params
TSFunctionType typeAnnotation.typeAnnotation typeParameters
TSMethodSignature parameters params
TSMethodSignature typeAnnotation typeParameters

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions