@nxworker/workspace
Version:
Nx plugin providing generators for managing workspace files, including the move-file generator for safely moving files between projects while updating all imports
9 lines (8 loc) • 337 B
TypeScript
/**
* Converts a relative workspace path to an absolute path with leading slash.
* This is useful for calculating relative paths between files.
*
* @param filePath - The relative workspace path to convert
* @returns The absolute path with leading slash
*/
export declare function toAbsoluteWorkspacePath(filePath: string): string;