tav-ui
Version:
11 lines (10 loc) • 356 B
TypeScript
import type { Ref } from 'vue';
interface Params {
excludeListeners?: boolean;
excludeKeys?: string[];
excludeDefaultKeys?: boolean;
}
declare type Recordable<T = any> = Record<string, T>;
export declare function entries<T>(obj: Recordable<T>): [string, T][];
export declare function useAttrs(params?: Params): Ref<Recordable> | {};
export {};