chore: fix typo (#108)
This commit is contained in:
parent
8133b3867a
commit
842f235ede
@ -63,7 +63,7 @@ export function readonly<T extends object>(
|
|||||||
target: T
|
target: T
|
||||||
): Readonly<UnwrapNestedRefs<T>>
|
): Readonly<UnwrapNestedRefs<T>>
|
||||||
export function readonly(target: object) {
|
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.
|
// a readonly version.
|
||||||
if (reactiveToRaw.has(target)) {
|
if (reactiveToRaw.has(target)) {
|
||||||
target = reactiveToRaw.get(target)
|
target = reactiveToRaw.get(target)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user