Skip to content

fix(api.js): Change cb type in mockIPC to return unknown#11724

Merged
amrbashir merged 1 commit intodevfrom
fix/apijs/mockipc-type
Nov 18, 2024
Merged

fix(api.js): Change cb type in mockIPC to return unknown#11724
amrbashir merged 1 commit intodevfrom
fix/apijs/mockipc-type

Conversation

@FabianLars
Copy link
Member

this is a partial revert of the type changes in #8534 to fix #11720

at first i kept around the T in something like T | unknown but in my testing i didn't see any use of mockIPC that wouldn't work with the T now.

@FabianLars FabianLars requested a review from a team as a code owner November 18, 2024 12:55
@github-actions
Copy link
Contributor

Package Changes Through 9c8ecb8

There are 8 changes which include tauri-bundler with minor, tauri-cli with minor, @tauri-apps/cli with minor, tauri with minor, tauri-runtime with minor, tauri-runtime-wry with minor, @tauri-apps/api with patch, tauri-utils with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.1.1 2.1.2
tauri-utils 2.1.0 2.1.1
tauri-bundler 2.1.0 2.2.0
tauri-runtime 2.2.0 2.3.0
tauri-runtime-wry 2.2.0 2.3.0
tauri-codegen 2.0.3 2.0.4
tauri-macros 2.0.3 2.0.4
tauri-plugin 2.0.3 2.0.4
tauri-build 2.0.3 2.0.4
tauri 2.1.1 2.2.0
@tauri-apps/cli 2.1.0 2.2.0
tauri-cli 2.1.0 2.2.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@amrbashir amrbashir merged commit b63262c into dev Nov 18, 2024
@amrbashir amrbashir deleted the fix/apijs/mockipc-type branch November 18, 2024 15:50
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.

[bug] mockIPC callback typing

2 participants