UNPKG

443 BTypeScriptView Raw
1/**
2 * Used to set specific HTTP status code when result returned by a controller action is equal to undefined.
3 * Must be applied on a controller action.
4 */
5export declare function OnUndefined(code: number): Function;
6/**
7 * Used to set specific HTTP status code when result returned by a controller action is equal to undefined.
8 * Must be applied on a controller action.
9 */
10export declare function OnUndefined(error: Function): Function;