export const extendMap = ( path , map ) : Readonly < Record < string , string > > => Object . entries ( map ) . reduce < Record < string , string > > ( ( accum , [ key , value ] ) => { accum [ `${ path }.${ key }` ] = `${ path }.${ value }` ; return accum ; } , { } ) ;