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 support for function types #1910

Merged
merged 6 commits into from Apr 13, 2024
Merged

feat!: improve support for function types #1910

merged 6 commits into from Apr 13, 2024

Conversation

domoritz
Copy link
Member

@domoritz domoritz commented Apr 8, 2024

Support function types more comprehensively including constructors. Also adds a configuration option to ignore functions.

This is a breaking change since we don't generated the NamedParameters anymore. They are now a namedArgs property.

fixes #1016, fixes #1456

BREAKING CHANGE

📦 Published PR as canary version: 1.5.2--canary.1910.3fb8be5.0

✨ Test out this PR locally via:

npm install ts-json-schema-generator@1.5.2--canary.1910.3fb8be5.0
# or 
yarn add ts-json-schema-generator@1.5.2--canary.1910.3fb8be5.0

@domoritz domoritz changed the title fix: support function types feat!: support function types Apr 13, 2024
@domoritz domoritz changed the title feat!: support function types feat!: improve support for function types Apr 13, 2024
@domoritz domoritz merged commit 91a0c9f into next Apr 13, 2024
3 checks passed
@domoritz domoritz deleted the dom/functions branch April 13, 2024 02:49
@github-actions github-actions bot mentioned this pull request Apr 13, 2024
Copy link

🚀 PR was released in v2.0.0 🚀

@github-actions github-actions bot added released This issue/pull request has been released. and removed prerelease labels Apr 13, 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
1 participant