Skip to content

fix: fix worklet shared type#353

Open
Mister-Hope wants to merge 2 commits intowechat-miniprogram:masterfrom
Mister-Hope:patch-1
Open

fix: fix worklet shared type#353
Mister-Hope wants to merge 2 commits intowechat-miniprogram:masterfrom
Mister-Hope:patch-1

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.

@Mister-Hope
Copy link
Contributor Author

Any update for this?

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