Skip to content

Commit 5852cc8

Browse files
authored
fix(types/ref-transform): fix $$() type
1 parent 3ad9dc4 commit 5852cc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue/ref-macros.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ declare function _$<T extends object>(arg?: T): ShallowUnwrapRef<T>
2828
/**
2929
* Vue ref transform macro for accessing underlying refs of reactive varaibles.
3030
*/
31-
declare function _$$<T>(value: T): ComputedRef<T>
31+
declare function _$$<T>(value: ComputedRefValue<T>): ComputedRef<T>
3232
declare function _$$<T>(
3333
value: WritableComputedRefValue<T>
3434
): WritableComputedRef<T>

0 commit comments

Comments
 (0)