@nestjs/cli
Version:
Nest - modern, fast, powerful node.js web framework (@cli)
7 lines (6 loc) • 318 B
TypeScript
/**
* Resolves `path` through Node's module resolution, returning the resolved
* filename or `undefined` when it cannot be found. Callers need the resolved
* path itself (to decide how to load the file), not merely whether it exists.
*/
export declare function resolveModulePath(path: string): string | undefined;