@shons/next-configify
Version:
NestJS Config on Next Steroids
11 lines (10 loc) • 353 B
TypeScript
export declare const VALUE_METADATA: unique symbol;
export declare const VALUE_PROPERTIES_METADATA: unique symbol;
export interface ValueOptions {
parse: (value: any) => any;
}
export interface ValueDecoratedKey {
key: string;
options?: ValueOptions;
}
export declare const Value: (key: string, options?: ValueOptions) => PropertyDecorator;