elearning/Frontend-Learner/node_modules/eslint-plugin-import-x/lib/utils/read-pkg-up.d.ts
2026-01-13 10:48:02 +07:00

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;
};