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

chore: document some arguments as optional #873

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

makepanic
Copy link
Contributor

Hi,

we're in the process of upgrading from our own typedefs to the official diagram-js ones and found some cases where arguments are theoretically optional but documented as required in the jsdoc.

This PR adjusts the cases we noticed our build complaining.
The changes are usually where the argument is consumed with a fallback value in the javascript code, e.g. argument || {}.

If you expect these arguments not to be optional in the generated types, I can also close the PR.

Thanks

Copy link
Member

@nikku nikku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of these changes make sense. Thanks!

@nikku nikku changed the base branch from develop to main March 19, 2024 17:18
@nikku nikku changed the base branch from main to develop March 19, 2024 17:19
@nikku nikku merged commit 34987ca into bpmn-io:develop Mar 19, 2024
7 checks passed
@nikku
Copy link
Member

nikku commented Mar 19, 2024

Released with v14.2.0

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