Skip to content

Commit 31f3fd8

Browse files
authored
Update index.d.ts
1 parent f87a44f commit 31f3fd8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

types/wx/index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ declare namespace WechatMiniprogram {
7272
// TODO: fill worklet type
7373
type WorkletFunction = (...args: any) => any
7474
type AnimationObject = any
75-
type SharedValue<T = any> = T
75+
type SharedValue<T = any> = {
76+
value: T
77+
}
7678
type DerivedValue<T = any> = T
7779
}
7880

0 commit comments

Comments
 (0)