Skip to content

Add TupleTypeReference interface to the API #64065

Description

Acknowledgement

  • I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.

Comment

Consider adding TupleTypeReference interface to the API. It is available in Strada and particularly useful in combination with Checker#isTupleType():

function handleTuple(type: ts.TupleTypeReference) {
	// ...
}

if (checker.isTupleType(type)) {
	handleTuple(type as ts.TupleTypeReference);
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions