objects.d.ts 398 B

12345678
  1. import type { Entries } from 'type-fest';
  2. import type { Arrayable } from '.';
  3. export declare const keysOf: <T extends object>(arr: T) => Array<keyof T>;
  4. export declare const entriesOf: <T extends object>(arr: T) => Entries<T>;
  5. export { hasOwn } from '@vue/shared';
  6. export declare const getProp: <T = any>(obj: Record<string, any>, path: Arrayable<string>, defaultValue?: any) => {
  7. value: T;
  8. };