q9
This commit is contained in:
11
node_modules/@vue/test-utils/dist/utils/isDeepRef.d.ts
generated
vendored
Normal file
11
node_modules/@vue/test-utils/dist/utils/isDeepRef.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { DeepRef } from '../types';
|
||||
/**
|
||||
* Checks if the given value is a DeepRef.
|
||||
*
|
||||
* For both arrays and objects, it will recursively check
|
||||
* if any of their values is a Ref.
|
||||
*
|
||||
* @param {DeepRef<T> | unknown} r - The value to check.
|
||||
* @returns {boolean} Returns true if the value is a DeepRef, false otherwise.
|
||||
*/
|
||||
export declare const isDeepRef: <T>(r: DeepRef<T> | unknown) => r is DeepRef<T>;
|
||||
Reference in New Issue
Block a user