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(all): add optional typing of methods with generics of OverlayEventDetail #21393

Merged

Conversation

aivinog1
Copy link
Contributor

@aivinog1 aivinog1 commented May 28, 2020

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (npm run build) was run locally and any changes were pushed
  • Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Current behavior - there is no optional typing of generic usages OverlayEventDetail

Issue Number: resolves #21368

What is the new behavior?

  • add optional typings of usages OverlayEventDetail

Does this introduce a breaking change?

  • Yes
  • No

Other information

…d optional typing of methods with generics of OverlayEventDetail

add optional generic type of all methods like onDidDismiss and onWillDismiss

Refs ionic-team#21368
@ionitron-bot ionitron-bot bot added the package: core @ionic/core package label May 28, 2020
@liamdebeasi liamdebeasi changed the title feat: add optional typing of methods with generics of OverlayEventDetail feat(all): add optional typing of methods with generics of OverlayEventDetail Jun 2, 2020
@liamdebeasi
Copy link
Contributor

Here is a dev build if anyone would like to test it out: 5.2.0-dev.202006021414.5a5a70f

@liamdebeasi liamdebeasi merged commit 5bf83b8 into ionic-team:master Jun 3, 2020
@liamdebeasi
Copy link
Contributor

Merged. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: pass T in onDidDismiss to OverlayEventDetail
3 participants