UNPKG

midnight

Version:

Web framework for building modern web applications

17 lines (16 loc) 327 B
"use strict"; /** * @typedef {import('../index').App} App * @typedef {import('../index').Config} Config */ /** * @param {App} app * @param {Partial<Config>} object * @returns {App} */ module.exports = function (app, object) { for (var key in object) { app.config[key] = object[key]; } return app; };