Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'use strict';
- const {serverConfig} = require('./config');
- const {init} = require('./dependency');
- const services = require('../services');
- # bind makes the parametrs permenantly part of the object.
- const initDependency = init.bind(null,{serverConfig, services});
- module.exports = Object.assign({}, {initDependency});
Add Comment
Please, Sign In to add comment