nest-simple-config
Version:
A powerful and flexible configuration management library for NestJS applications. Supports JSON, YAML file loading, environment variable overrides, immutable configurations, and type-safe configuration access with dependency injection.
11 lines (10 loc) • 377 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BindOption = exports.BIND_OPTION_METADATA = void 0;
exports.BIND_OPTION_METADATA = Symbol('BIND_OPTION_METADATA');
function BindOption(section) {
return (target) => {
Reflect.defineMetadata(exports.BIND_OPTION_METADATA, section, target);
};
}
exports.BindOption = BindOption;