mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
384 B
TypeScript
13 lines
384 B
TypeScript
// Type definitions for pkg-dir 2.0
|
|
// Project: https://github.com/sindresorhus/pkg-dir#readme
|
|
// Definitions by: NK-WEB-Git <https://github.com/NK-WEB-Git>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = pkgDir;
|
|
|
|
declare function pkgDir(cwd?: string): Promise<string | null>;
|
|
|
|
declare namespace pkgDir {
|
|
function sync(cwd?: string): string | null;
|
|
}
|