]> git.ipfire.org Git - thirdparty/vuejs/core.git/commit
fix(types): make `toRef` return correct type(fix #4732) (#4734)
authorChe Guevara <836934184@qq.com>
Fri, 8 Oct 2021 15:57:49 +0000 (23:57 +0800)
committerGitHub <noreply@github.com>
Fri, 8 Oct 2021 15:57:49 +0000 (11:57 -0400)
commit925bc346fe85091467fcd2e40d6c1ff07f3b51c4
treed8a02a1723cfaa5538592d9b8d730a779234a6da
parentf66d456b7a39db9dae7e70c28bb431ff293d8fef
fix(types): make `toRef` return correct type(fix #4732) (#4734)

* fix(types): make `toRef` return correct type(fix #4732)

* chore: use correct test

Co-authored-by: Evan You <yyx990803@gmail.com>
packages/reactivity/src/ref.ts
test-dts/ref.test-d.ts