elearning/Frontend-Learner/node_modules/eslint-plugin-import-x/lib/utils/read-pkg-up.d.ts

13 lines
237 B
TypeScript
Raw Normal View History

2026-01-13 10:46:40 +07:00
import type { PackageJson } from 'type-fest';
export declare function readPkgUp(opts?: {
cwd?: string;
}): {
pkg?: undefined;
path?: undefined;
} | {
pkg: PackageJson & {
name: string;
};
path: string;
};