yingsa/admin/node_modules/element-plus/lib/utils/objects.d.ts
2026-01-20 08:50:50 +08:00

8 lines
369 B
TypeScript

import type { Arrayable } from '.';
export declare const keysOf: <T extends object>(arr: T) => Array<keyof T>;
export declare const entriesOf: <T extends object>(arr: T) => [keyof T, T[keyof T]][];
export { hasOwn } from '@vue/shared';
export declare const getProp: <T = any>(obj: Record<string, any>, path: Arrayable<string>, defaultValue?: any) => {
value: T;
};