mirror of
https://github.com/soconnor0919/beenpad.git
synced 2026-02-05 00:06:40 -05: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 };
|