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: improve literal union type handling #1927

Merged
merged 6 commits into from
Apr 20, 2024
Merged

feat: improve literal union type handling #1927

merged 6 commits into from
Apr 20, 2024

Conversation

domoritz
Copy link
Member

@domoritz domoritz commented Apr 19, 2024

Fixes #1921

πŸ“¦ Published PR as canary version: 2.0.2--canary.1927.45e4021.0

✨ Test out this PR locally via:

npm install ts-json-schema-generator@2.0.2--canary.1927.45e4021.0
# or 
yarn add ts-json-schema-generator@2.0.2--canary.1927.45e4021.0

Version

Published prerelease version: v2.1.0-next.1

Changelog

πŸš€ Enhancement

πŸ› Bug Fix

⚠️ Pushed to next

  • refactor: minor code improvements (@domoritz)

Authors: 1

@domoritz domoritz marked this pull request as ready for review April 19, 2024 21:30
@domoritz domoritz merged commit 4afd56e into next Apr 20, 2024
2 of 3 checks passed
@domoritz domoritz deleted the dom/string-unions branch April 20, 2024 01:52
Copy link

πŸš€ PR was released in v2.1.0 πŸš€

@github-actions github-actions bot added the released This issue/pull request has been released. label Apr 20, 2024
@github-actions github-actions bot mentioned this pull request Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"foo" | "bar" | string; should not only map to a string
1 participant