mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 17:55:17 -04:00
fix: remove explicit typing
Apparently this is not need anymore and the linter does not like it. Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
f35d00806e
commit
cf51c7572a
4 changed files with 5 additions and 5 deletions
|
@ -108,7 +108,7 @@ export const OpenApi = (
|
|||
ApiOkResponse({
|
||||
description: description ?? okDescription,
|
||||
isArray: isArray,
|
||||
type: dto ? (): BaseDto => dto as BaseDto : undefined,
|
||||
type: dto ? (): BaseDto => dto : undefined,
|
||||
}),
|
||||
);
|
||||
break;
|
||||
|
@ -117,7 +117,7 @@ export const OpenApi = (
|
|||
ApiCreatedResponse({
|
||||
description: description ?? createdDescription,
|
||||
isArray: isArray,
|
||||
type: dto ? (): BaseDto => dto as BaseDto : undefined,
|
||||
type: dto ? (): BaseDto => dto : undefined,
|
||||
}),
|
||||
HttpCode(201),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue