code: function transformObject (type) {
    const transformed = {}
  
    for (let key in type) {
      transformed[key] = transformType(type[key])
    }
  
    return transformed
  }
docs: Transform an object
  @param  {Object}    type
  @return {Object}    transformed object type
  @private