Skip to content

Commit b63262c

Browse files
authored
fix(api.js): Change cb type in mockIPC to return unknown (#11724)
1 parent f2814ed commit b63262c

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.changes/fix-apijs-mockipc-cb-type.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@tauri-apps/api": "patch:bug"
3+
---
4+
5+
Removed the generic in the type of the callback function argument in `mockIPC` which prevented its proper use in tests using TypeScript.

0 commit comments

Comments
 (0)