mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-21 02:35:23 -04:00
refactor(backend): fix nestjs-typed linting errors
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
8daffbb11b
commit
a5d8c9cc33
16 changed files with 60 additions and 20 deletions
|
@ -3,7 +3,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
import { ApiProperty } from '@nestjs/swagger';
|
||||
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
||||
|
||||
import { BaseDto } from '../utils/base.dto.';
|
||||
|
||||
|
@ -14,9 +14,9 @@ export class ServerVersion {
|
|||
minor: number;
|
||||
@ApiProperty()
|
||||
patch: number;
|
||||
@ApiProperty()
|
||||
@ApiPropertyOptional()
|
||||
preRelease?: string;
|
||||
@ApiProperty()
|
||||
@ApiPropertyOptional()
|
||||
commit?: string;
|
||||
@ApiProperty()
|
||||
fullString: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue