@@ -108,9 +108,9 @@ export declare const ShallowReactiveMarker: unique symbol
108
108
export type ShallowReactive < T > = T & { [ ShallowReactiveMarker ] ?: true }
109
109
110
110
/**
111
- * Shallow version of {@link reactive() }.
111
+ * Shallow version of {@link reactive}.
112
112
*
113
- * Unlike {@link reactive() }, there is no deep conversion: only root-level
113
+ * Unlike {@link reactive}, there is no deep conversion: only root-level
114
114
* properties are reactive for a shallow reactive object. Property values are
115
115
* stored and exposed as-is - this also means properties with ref values will
116
116
* not be automatically unwrapped.
@@ -178,7 +178,7 @@ export type DeepReadonly<T> = T extends Builtin
178
178
* the original.
179
179
*
180
180
* A readonly proxy is deep: any nested property accessed will be readonly as
181
- * well. It also has the same ref-unwrapping behavior as {@link reactive() },
181
+ * well. It also has the same ref-unwrapping behavior as {@link reactive},
182
182
* except the unwrapped values will also be made readonly.
183
183
*
184
184
* @example
@@ -215,9 +215,9 @@ export function readonly<T extends object>(
215
215
}
216
216
217
217
/**
218
- * Shallow version of {@link readonly() }.
218
+ * Shallow version of {@link readonly}.
219
219
*
220
- * Unlike {@link readonly() }, there is no deep conversion: only root-level
220
+ * Unlike {@link readonly}, there is no deep conversion: only root-level
221
221
* properties are made readonly. Property values are stored and exposed as-is -
222
222
* this also means properties with ref values will not be automatically
223
223
* unwrapped.
@@ -298,8 +298,8 @@ function createReactiveObject(
298
298
}
299
299
300
300
/**
301
- * Checks if an object is a proxy created by {@link reactive() } or
302
- * {@link shallowReactive() } (or {@link ref() } in some cases).
301
+ * Checks if an object is a proxy created by {@link reactive} or
302
+ * {@link shallowReactive} (or {@link ref} in some cases).
303
303
*
304
304
* @example
305
305
* ```js
@@ -327,7 +327,7 @@ export function isReactive(value: unknown): boolean {
327
327
* readonly object can change, but they can't be assigned directly via the
328
328
* passed object.
329
329
*
330
- * The proxies created by {@link readonly() } and {@link shallowReadonly() } are
330
+ * The proxies created by {@link readonly} and {@link shallowReadonly} are
331
331
* both considered readonly, as is a computed ref without a set function.
332
332
*
333
333
* @param value - The value to check.
@@ -343,7 +343,7 @@ export function isShallow(value: unknown): boolean {
343
343
344
344
/**
345
345
* Checks if an object is a proxy created by {@link reactive},
346
- * {@link readonly}, {@link shallowReactive} or {@link shallowReadonly() }.
346
+ * {@link readonly}, {@link shallowReactive} or {@link shallowReadonly}.
347
347
*
348
348
* @param value - The value to check.
349
349
* @see {@link https://vuejs.org/api/reactivity-utilities.html#isproxy }
@@ -356,8 +356,8 @@ export function isProxy(value: any): boolean {
356
356
* Returns the raw, original object of a Vue-created proxy.
357
357
*
358
358
* `toRaw()` can return the original object from proxies created by
359
- * {@link reactive() }, {@link readonly() }, {@link shallowReactive() } or
360
- * {@link shallowReadonly() }.
359
+ * {@link reactive}, {@link readonly}, {@link shallowReactive} or
360
+ * {@link shallowReadonly}.
361
361
*
362
362
* This is an escape hatch that can be used to temporarily read without
363
363
* incurring proxy access / tracking overhead or write without triggering
@@ -397,7 +397,7 @@ export type Raw<T> = T & { [RawSymbol]?: true }
397
397
* ```
398
398
*
399
399
* **Warning:** `markRaw()` together with the shallow APIs such as
400
- * {@link shallowReactive() } allow you to selectively opt-out of the default
400
+ * {@link shallowReactive} allow you to selectively opt-out of the default
401
401
* deep reactive/readonly conversion and embed raw, non-proxied objects in your
402
402
* state graph.
403
403
*
0 commit comments