reactivePick.d.ts 274 B

123456789
  1. import type { UnwrapRef } from 'vue';
  2. /**
  3. * Reactively pick fields from a reactive object
  4. *
  5. * @see https://vueuse.js.org/reactivePick
  6. */
  7. export declare function reactivePick<T extends object, K extends keyof T>(obj: T, ...keys: K[]): {
  8. [S in K]: UnwrapRef<T[S]>;
  9. };