Skip to content

Commit

Permalink
fix: remove invalid type
Browse files Browse the repository at this point in the history
  • Loading branch information
ChoGathK committed Aug 31, 2022
1 parent 77a4bd9 commit 673fe55
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export function ApiFormData(options: any) {
);
}

export function getResponseVo<T = any>(ResponseBodyVo: Type<T>) {
return function(Vo?: Type<T>) {
export function getResponseVo(ResponseBodyVo: Type) {
return function(Vo?: Type) {
return applyDecorators(
ApiOkResponse({
schema: {
Expand All @@ -35,8 +35,8 @@ export function getResponseVo<T = any>(ResponseBodyVo: Type<T>) {
};
}

export function getArrayResponseVo<T = any>(ResponseBodyVo: Type<T>) {
return function(Vo?: Type<T>) {
export function getArrayResponseVo(ResponseBodyVo: Type) {
return function(Vo?: Type) {
return applyDecorators(
ApiOkResponse({
schema: {
Expand All @@ -56,7 +56,7 @@ export function getArrayResponseVo<T = any>(ResponseBodyVo: Type<T>) {
};
}

export function getPaginationResponseVo<T = any, P = any>(ResponseBodyVo: Type<T>, PageVo: Type<P>) {
export function getPaginationResponseVo(ResponseBodyVo: Type, PageVo: Type) {
return function(Vo?: Type) {
return applyDecorators(
ApiOkResponse({
Expand Down

0 comments on commit 673fe55

Please sign in to comment.