iles
Version:
Vite & Vue powered static site generator with partial hydration
5 lines (4 loc) • 391 B
TypeScript
export { default as serialize } from '@nuxt/devalue';
export declare function mapObject<I, O>(obj: Record<string, I>, fn: (i: I, key?: string) => O): Record<string, O>;
export declare function asyncMapObject<I, O>(obj: Record<string, I>, fn: (i: I) => Promise<O>): Promise<Record<string, O>>;
export declare function getComponentName({ displayName, name, _componentTag, __file }: any): any;