UNPKG

nuclear-binding-container

Version:

A binding registry to be used within a nuclear app to register resolver functions for specific keys.

19 lines (16 loc) 331 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.binding = binding; var _constants = require('./constants'); /** * Returns the getter for given key. * * @public * @param {string} key - binding key * @returns {Getter} */ function binding(key) { return [_constants.STORE_NAME, key]; }