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

feat: include tuple names in json schema #613

Merged
merged 1 commit into from
Sep 19, 2024

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