mirror of
https://github.com/zoorpha/rustshare-obsidian-plugin.git
synced 2026-07-22 07:48:14 +00:00
7 lines
401 B
TypeScript
7 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 };
|