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

[Typescript] Fix OnBreakerCallbackType type #106

Merged
merged 3 commits into from
Dec 6, 2024

Conversation

jamal-khey
Copy link
Contributor

@jamal-khey jamal-khey commented Oct 7, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines

What kind of change does this PR introduce?
FIX typescript type

What is the current behavior?
No Behavior change

What is the new behavior (if this is a feature change)?
No Behavior change

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)

When instantiating the SingleLineDiagramViewer class, you need to update the parameter type of the onBreakerCallback. The type of the switch element parameter is now switchElement instead of the previous type.

Other information:

@jamal-khey jamal-khey added the Breaking change API is broken label Oct 7, 2024
Signed-off-by: jamal-khey <myjamal89@gmail.com>
Copy link

sonarcloud bot commented Oct 7, 2024

@jamal-khey jamal-khey requested a review from flo-dup October 9, 2024 15:26
@jamal-khey jamal-khey self-assigned this Oct 9, 2024
@jamal-khey jamal-khey force-pushed the jamal-khey/ts-migration-components-diagrams branch from 61ea9fb to 96c180a Compare December 6, 2024 10:47
Copy link

sonarcloud bot commented Dec 6, 2024

@jamal-khey jamal-khey requested a review from flo-dup December 6, 2024 10:49
@flo-dup flo-dup merged commit 404922e into main Dec 6, 2024
6 checks passed
@flo-dup flo-dup deleted the jamal-khey/ts-migration-components-diagrams branch December 6, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking change API is broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants