@dazejs/framework
Version:
Daze.js - A powerful web framework for Node.js
8 lines (7 loc) • 1.48 kB
TypeScript
export declare const Query: (key?: string, defaultValue?: any) => (target: any, propertyKey?: string | symbol | undefined, descriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
export declare const Params: (key?: string, defaultValue?: any) => (target: any, propertyKey?: string | symbol | undefined, descriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
export declare const Header: (key?: string, defaultValue?: any) => (target: any, propertyKey?: string | symbol | undefined, descriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
export declare const Headers: (key?: string, defaultValue?: any) => (target: any, propertyKey?: string | symbol | undefined, descriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
export declare const Body: (key?: string) => (target: any, propertyKey?: string | symbol | undefined, descriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
export declare const CookieValue: (key?: string, defaultValue?: any) => (target: any, propertyKey?: string | symbol | undefined, descriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;
export declare const SessionValue: (key?: string, defaultValue?: any) => (target: any, propertyKey?: string | symbol | undefined, descriptorOrParameterIndex?: number | TypedPropertyDescriptor<any> | undefined) => void;