@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
10 lines (9 loc) • 441 B
TypeScript
/**
* Builds a list of file names by combining base names with entry point extensions.
* For example, ['index', 'main'] with extensions ['.ts', '.js'] produces:
* ['index.ts', 'index.js', 'main.ts', 'main.js']
*
* @param baseNames - Array of base file names (without extensions)
* @returns Array of file names with all possible entry point extensions
*/
export declare function buildFileNames(baseNames: readonly string[]): string[];