@jiaxinjiang/nest-config
Version:
Configuration component for NestJs.
7 lines (6 loc) • 415 B
TypeScript
export declare const InjectConfig: () => (target: object, key: string | symbol, index?: number) => void;
export declare const Configurable: () => MethodDecorator;
export declare const ConfigParam: (configKey: string, fallback?: any) => ParameterDecorator;
export declare const ProxyProperty: (propertyName: string) => <T extends new (...args: any[]) => {}>(constructor: T) => {
new (...args: any[]): {};
} & T;