Skip to content

fix #13059: Add generic parameter to emit and emitTo #13066

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

Merged
merged 6 commits into from
Mar 25, 2025

Conversation

ahaoboy
Copy link
Contributor

@ahaoboy ahaoboy commented Mar 24, 2025

close #13059

@ahaoboy ahaoboy requested a review from a team as a code owner March 24, 2025 13:04
@github-project-automation github-project-automation bot moved this to 📬Proposal in Roadmap Mar 24, 2025
Copy link
Contributor

github-actions bot commented Mar 24, 2025

Package Changes Through 87af950

There are 3 changes which include @tauri-apps/api with patch, tauri with minor, tauri-utils with minor

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.4.0 2.4.1
tauri-utils 2.3.0 2.4.0
tauri-bundler 2.3.0 2.3.1
tauri-runtime 2.5.0 2.5.1
tauri-runtime-wry 2.5.0 2.5.1
tauri-codegen 2.1.0 2.1.1
tauri-macros 2.1.0 2.1.1
tauri-plugin 2.1.0 2.1.1
tauri-build 2.1.0 2.1.1
tauri 2.4.0 2.5.0
@tauri-apps/cli 2.4.0 2.4.1
tauri-cli 2.4.0 2.4.1

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


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

Comment on lines 1 to 18
---
"@tauri-apps/api": patch
"tauri-utils": patch
"tauri-macos-sign": patch
"tauri-bundler": patch
"tauri-runtime": patch
"tauri-runtime-wry": patch
"tauri-codegen": patch
"tauri-macros": patch
"tauri-plugin": patch
"tauri-build": patch
"tauri": patch
"@tauri-apps/cli": patch
"tauri-cli": patch
"tauri-driver": patch
---

fix
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
---
"@tauri-apps/api": patch
"tauri-utils": patch
"tauri-macos-sign": patch
"tauri-bundler": patch
"tauri-runtime": patch
"tauri-runtime-wry": patch
"tauri-codegen": patch
"tauri-macros": patch
"tauri-plugin": patch
"tauri-build": patch
"tauri": patch
"@tauri-apps/cli": patch
"tauri-cli": patch
"tauri-driver": patch
---
fix
---
"@tauri-apps/api": patch:enhance
---
Add a generic to `emit` and `emitTo` functions for the `payload` instead of the previously used type (`unknown`).

@amrbashir amrbashir merged commit dd13728 into tauri-apps:dev Mar 25, 2025
14 checks passed
@github-project-automation github-project-automation bot moved this from 📬Proposal to 🔎 In audit in Roadmap Mar 25, 2025
@ahaoboy ahaoboy deleted the patch-1 branch March 25, 2025 03:43
kandrelczyk pushed a commit to kandrelczyk/tauri that referenced this pull request Apr 7, 2025
kandrelczyk pushed a commit to kandrelczyk/tauri that referenced this pull request Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔎 In audit
Development

Successfully merging this pull request may close these issues.

[feat] emit function is missing a generic parameter
2 participants