wechat-miniprogram / wechat-miniprogram/api-typings

worklet相关ts类型缺失

Open
#358 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
803
Forks
117
Avg merge
24m
Merged PRs (30d)
1

Description

Image

SharedValue的定义不对,导致读取他的value属性ts报错

Image Image

interface WorkletEasing缺少动画缓动函数的类型定义

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the TypeScript declarations for SharedValue and WorkletEasing, then compare them with the usage shown in the issue screenshots. Confirm that SharedValue exposes a readable value property and that WorkletEasing includes animation easing-function types, then run the repository's existing type checks to verify the definitions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.