toReactive.d.ts 277 B

12345678910
  1. import type { Ref } from 'vue';
  2. declare type MaybeRef<T> = T | Ref<T>;
  3. /**
  4. * Converts ref to reactive.
  5. *
  6. * @see https://vueuse.org/toReactive
  7. * @param objectRef A ref of object
  8. */
  9. export declare function toReactive<T extends object>(objectRef: MaybeRef<T>): T;
  10. export {};