mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 15:30:57 +00:00
8 lines
401 B
TypeScript
8 lines
401 B
TypeScript
declare function findNearestPackageData(basedir: string): {
|
|
type?: "module" | "commonjs";
|
|
};
|
|
declare function getCachedData<T>(cache: Map<string, T>, basedir: string, originalBasedir: string): NonNullable<T> | undefined;
|
|
declare function setCacheData<T>(cache: Map<string, T>, data: T, basedir: string, originalBasedir: string): void;
|
|
|
|
export { findNearestPackageData, getCachedData, setCacheData };
|