@nexe/config-manager
Version:
Nexe Config Manager - A flexible configuration management solution with multiple sources and hot reload support
12 lines • 462 B
TypeScript
import 'reflect-metadata';
/**
* 配置属性装饰器,用于将配置值映射到类属性
* @param key 配置键,如果不提供则使用属性名
*/
export declare function ConfigProperty(key?: string): PropertyDecorator;
/**
* 配置分区装饰器,用于定义配置类所对应的配置分区
* @param section 配置分区名称
*/
export declare function ConfigSection(section: string): ClassDecorator;
//# sourceMappingURL=decorators.d.ts.map