Skip to content

Expose isTypeRelatedTo in the compiler API #17917

@SamPruden

Description

@SamPruden

I'm writing a transformer that needs to be able to evaluate type identity and assignability. I believe this is currently not possible with the compiler API. From what I can tell this could be enabled easily and harmlessly by exposing the isTypeRelatedTo function and providing an enum for the relation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already created

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions