]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix typo (#108)
author扩散性百万甜面包 <himself65@outlook.com>
Sat, 5 Oct 2019 19:39:47 +0000 (03:39 +0800)
committerEvan You <yyx990803@gmail.com>
Sat, 5 Oct 2019 19:39:47 +0000 (15:39 -0400)
packages/reactivity/src/reactive.ts

index 653aac4477a28595312758e7d0189e86fb74ffc8..28c74720733e80e23349ca4a2493a22917174ccf 100644 (file)
@@ -63,7 +63,7 @@ export function readonly<T extends object>(
   target: T
 ): Readonly<UnwrapNestedRefs<T>>
 export function readonly(target: object) {
-  // value is a mutable observable, retrive its original and return
+  // value is a mutable observable, retrieve its original and return
   // a readonly version.
   if (reactiveToRaw.has(target)) {
     target = reactiveToRaw.get(target)