Skip to content

Question: How to get access type variables from scope #19

Closed
@JamesHenry

Description

@JamesHenry

This issue was initially reported here: eslint/typescript-eslint-parser#566


I'm unsure if its supported yet, but in eslint scope contains informations about variables declared in it, but i'm unable to find types.

we have node: TSTypeParameterDeclaration -> TSTypeParameter but rather than iterating over all of them and checking if scope is same i don't see easier way to do so.

it will be nice if we could extend scopeManager and add information about this there.

If i'm wrong please correct me :>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpackage: parserIssues related to @typescript-eslint/parser

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions