helpyourneighbour/node_modules/@pkgr/core/lib/helpers.d.ts
BibaBot c294e2e9ae
Some checks are pending
Docker Test / test (push) Waiting to run
Add unit tests for role middleware
2026-03-17 07:07:36 +00:00

5 lines
454 B
TypeScript

export declare const tryPkg: (pkg: string) => string | undefined;
export declare const isPkgAvailable: (pkg: string) => boolean;
export declare const tryFile: (filename?: string[] | string, includeDir?: boolean, base?: string) => string;
export declare const tryExtensions: (filepath: string, extensions?: string[]) => string;
export declare const findUp: (searchEntry: string, searchFileOrIncludeDir?: boolean | string, includeDir?: boolean) => string;