Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to represent variadic tuple type? #147

Open
vedantroy opened this issue May 17, 2020 · 1 comment
Open

How to represent variadic tuple type? #147

vedantroy opened this issue May 17, 2020 · 1 comment

Comments

@vedantroy
Copy link

How do I represent

type T = [number, ...string[]]

@pelotom
Copy link
Collaborator

pelotom commented May 19, 2020

There's no way to represent implement such a type AFAIK.

@yuhr yuhr changed the title How to represent rest type? How to represent variadic tuple type? May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants