UNPKG

@vuesax-alpha/nightly

Version:
10 lines (9 loc) 506 B
import type { Entries } from 'type-fest'; import type { Arrayable } from './typescript'; export declare const keysOf: <T>(arr: T) => (keyof T)[]; export declare const entriesOf: <T>(arr: T) => Entries<T>; export { hasOwn } from '@vue/shared'; export declare const hasOwnProperty: <X extends object, Y extends PropertyKey>(obj: X, prop: Y) => obj is X & Record<Y, unknown>; export declare const getProp: <T = any>(obj: Record<string, any>, path: Arrayable<string>, defaultValue?: any) => { value: T; };