( factory: CustomRefFactory<T, S>, )
| 327 | * @see {@link https://vuejs.org/api/reactivity-advanced.html#customref} |
| 328 | */ |
| 329 | export function customRef<T, S = T>( |
| 330 | factory: CustomRefFactory<T, S>, |
| 331 | ): Ref<T, S> { |
| 332 | return new CustomRefImpl(factory) as any |
| 333 | } |
| 334 | |
| 335 | export type ToRefs<T = any> = { |
| 336 | [K in keyof T]: ToRef<T[K]> |
no outgoing calls
no test coverage detected