12 lines
237 B
TypeScript
12 lines
237 B
TypeScript
import type { PackageJson } from 'type-fest';
|
|
export declare function readPkgUp(opts?: {
|
|
cwd?: string;
|
|
}): {
|
|
pkg?: undefined;
|
|
path?: undefined;
|
|
} | {
|
|
pkg: PackageJson & {
|
|
name: string;
|
|
};
|
|
path: string;
|
|
};
|