]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(types/ref-transform): fix $$() type
authorfishDog <40156382+Bigfish8@users.noreply.github.com>
Sat, 4 Sep 2021 16:04:12 +0000 (00:04 +0800)
committerGitHub <noreply@github.com>
Sat, 4 Sep 2021 16:04:12 +0000 (12:04 -0400)
packages/vue/ref-macros.d.ts

index 547a74879a7ff83970d4f5221a5168af1da7070a..ee8ddfed9b98d71b6fefd2ba32a5b5e9ad6bdb33 100644 (file)
@@ -28,7 +28,7 @@ declare function _$<T extends object>(arg?: T): ShallowUnwrapRef<T>
 /**
  * Vue ref transform macro for accessing underlying refs of reactive varaibles.
  */
-declare function _$$<T>(value: T): ComputedRef<T>
+declare function _$$<T>(value: ComputedRefValue<T>): ComputedRef<T>
 declare function _$$<T>(
   value: WritableComputedRefValue<T>
 ): WritableComputedRef<T>