param { Config } config param { Object } result return { Config } function decodeConfig ( config , result ) { const values = result . values ; delete values . generator ; delete values . output ; return config . updateValues ( values ) ; } export { decodeConfig } ;