es-guard
Version:
A tool to check JavaScript compatibility with target environments
10 lines • 393 B
TypeScript
import type { ProjectType } from "./types.js";
/**
* Detect and cache project type globally (lazy initialization)
*/
export declare const detectAndCacheProjectType: (cwd?: string) => ProjectType | null;
/**
* Get the current project type (detects if not already cached)
*/
export declare const getCurrentProjectType: (cwd?: string) => ProjectType;
//# sourceMappingURL=projectType.d.ts.map