Skip to content

fix: fix worklet shared type #353

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Mister-Hope
Copy link
Contributor

No description provided.

@Mister-Hope Mister-Hope changed the title Update lib.wx.api.d.ts fix: fix worklet shared type Aug 1, 2025
@Mister-Hope
Copy link
Contributor Author

@SgLy Can you have a look at this, this can not be bypassed and requires heavy type cast to bypass it.

Basically, the wx.worklet.shared() is something like Vue ref(), while the types are wrong.

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.

1 participant