polymech-astro/node_modules/fast-copy/dist/umd/utils.d.ts
2025-12-28 14:50:44 +01:00

14 lines
404 B
TypeScript

export interface Cache {
has: (value: any) => boolean;
set: (key: any, value: any) => void;
get: (key: any) => any;
}
/**
* Get an empty version of the object with the same prototype it has.
*/
export declare function getCleanClone(prototype: any): any;
/**
* Get the tag of the value passed, so that the correct copier can be used.
*/
export declare function getTag(value: any): string;