File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/runtime/src/decorators Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ export function FormField(name?: string): ParameterDecorator {
130
130
*
131
131
* @link https://swagger.io/docs/specification/describing-request-body/
132
132
*/
133
- export function Consumes ( value : string ) : ParameterDecorator {
133
+ export function Consumes ( value : string ) : MethodDecorator {
134
134
return ( ) => {
135
135
return ;
136
136
} ;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export function Res(): ParameterDecorator {
35
35
*
36
36
* @link https://swagger.io/docs/specification/media-types/
37
37
*/
38
- export function Produces ( value : string ) : MethodDecorator {
38
+ export function Produces ( value : string ) : MethodDecorator & ClassDecorator {
39
39
return ( ) => {
40
40
return ;
41
41
} ;
You can’t perform that action at this time.
0 commit comments