import { decodeConfig } from "./decodeConfig" ; param { Output } output param { Object } result return { Output } function decodeGlobal ( output , result ) { let book = output . getBook ( ) ; let config = book . getConfig ( ) ; config = decodeConfig ( config , result . config ) ; book = book . set ( "config" , config ) ; return output . set ( "book" , book ) ; } export { decodeGlobal } ;