1import path from 'path'2import type { absFileDirPath } from '../ptDirF.mts'3import { throwIf } from '../sharedF/throwErrorF/throwIfF.mts'5export const pathJoin = (...parts: string[]) => {7 return path.join(...parts) as absFileDirPath8}10export const pathDownJoin = (base: string, ...parts: string[]) => {11 const joined = pathJoin(base, ...parts)15 return joined16}