objects.d.ts 365 B

12345678
  1. import type { Entries } from 'type-fest';
  2. import type { Arrayable } from '.';
  3. export declare const keysOf: <T>(arr: T) => (keyof T)[];
  4. export declare const entriesOf: <T>(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. };