Skip to content

Conversation

@achingbrain
Copy link
Member

p-event now returns CancelablePromise<unknown> which is incompatible with Promise<void> so use Promise<unknown> instead.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

`p-event` now returns `CancelablePromise<unknown>` which is incompatible
with `Promise<void>` so use `Promise<unknown>` instead.
@achingbrain achingbrain requested a review from a team as a code owner January 15, 2026 17:16
@achingbrain achingbrain merged commit d3291de into main Jan 16, 2026
47 of 48 checks passed
@achingbrain achingbrain deleted the fix/use-unknown-promise-type branch January 16, 2026 09:01
@github-actions github-actions bot mentioned this pull request Jan 16, 2026
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