frontend/.pnpm-store/v3/files/8a/3e1c7bc632fa8607274c5633c7d99b90a2dd7a7996a5739702012d398a10f1dc608b94dc6c8f824e05fbcc24367eda69ac9e496edb0ca09f74a3a40b4e1592

17 lines
448 B
Plaintext

declare const hasYarn: {
/**
* Check if a project is using [Yarn](https://yarnpkg.com).
*
* @param cwd - Current working directory. Default: `process.cwd()`.
* @returns Whether the project uses Yarn.
*/
(cwd?: string): boolean;
// TODO: Remove this for the next major release, refactor the whole definition to:
// declare function hasYarn(cwd?: string): boolean;
// export = hasYarn;
default: typeof hasYarn;
};
export = hasYarn;