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

refactor: improve types and fix errors #5143

Merged
merged 2 commits into from
Dec 26, 2021
Merged

refactor: improve types and fix errors #5143

merged 2 commits into from
Dec 26, 2021

Conversation

ImRodry
Copy link
Contributor

@ImRodry ImRodry commented Dec 26, 2021

Describe the changes in this pull request:
This PR fixes a regression introduced in #5131 that made it so some presences no longer compiled. Also took the chance to improve the typings and add a generic type argument to getPageletiable thanks to @Bas950. Also changed the type for the event listeners so you are now required to return void or Promise and also cast the type of the parameter in the iFrameData event. All versions were bumped with patch, except for Apple which got a minor bump due to the addition of the multiLanguage setting

Proof to proving the creation/modification working

@ImRodry ImRodry requested review from Bas950, Timeraa and a team as code owners December 26, 2021 18:42
@ImRodry ImRodry requested a review from Slowlife01 December 26, 2021 18:42
ImRodry and others added 2 commits December 26, 2021 19:05
Co-Authored-By: Bas950 <me@bas950.com>
Co-Authored-By: Rhys <64903135+EncryptedDev@users.noreply.github.com>
@Bas950 Bas950 merged commit b4a98b0 into PreMiD:main Dec 26, 2021
@ImRodry ImRodry deleted the refactor-types branch December 26, 2021 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants