UNPKG

reactant-di

Version:

A dependency injection lib for Reactant

20 lines (18 loc) 526 B
var defaultUndefinedValue = Symbol('defaultUndefined'); /** * > NOTE: does not support Changing dependencies without `@inject`. */ var Optional = /** @class */ (function () { function Optional(identifier) { this.identifier = identifier; } Object.defineProperty(Optional.prototype, "key", { get: function () { return defaultUndefinedValue; }, enumerable: false, configurable: true }); return Optional; }()); export { Optional, defaultUndefinedValue };