@nestjs/cli
Version:
The Nest CLI: create NestJS applications, generate modules, controllers and CRUD resources, and build, run and watch projects and monorepos.
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;