Skip to content

Conversation

k-yle
Copy link
Contributor

@k-yle k-yle commented Sep 9, 2024

Since TypeScript v4.0, tuples can have names (or 'labels'). For example:

type T = [start: number, end: number];

This PR includes these names in the JSON schema


Please:

  • Make your pull request atomic, fixing one issue at a time unless there are many relevant issues that cannot be decoupled.
  • Provide a test case & update the documentation in the Readme.md

@domoritz domoritz merged commit 75e599a into YousefED:master Sep 19, 2024
1 of 2 checks passed
@k-yle k-yle deleted the kh/tuple-names branch September 19, 2024 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants