Skip to content

types(connection): fix return type of withSession()#14690

Merged
vkarpov15 merged 2 commits into
Automattic:masterfrom
apparedev:feat/type-withsession
Jun 25, 2024
Merged

types(connection): fix return type of withSession()#14690
vkarpov15 merged 2 commits into
Automattic:masterfrom
apparedev:feat/type-withsession

Conversation

@apparedev

Copy link
Copy Markdown
Contributor

Summary

This fixes Connection.withSession()'s type definition, which currently doesn't seem to match the implementation [here].

Examples

(a test is added instead)

@vkarpov15 vkarpov15 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks 👍

@vkarpov15 vkarpov15 added this to the 8.4.4 milestone Jun 25, 2024
@vkarpov15 vkarpov15 merged commit f89868b into Automattic:master Jun 25, 2024
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