Explorar el Código

chore: fix typo (#108)

扩散性百万甜面包 hace 6 años
padre
commit
842f235ede
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/reactivity/src/reactive.ts

+ 1 - 1
packages/reactivity/src/reactive.ts

@@ -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)