mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-25 12:34:45 -04:00
refactor: use a base dto class
This gives all dto classes a common super class for usage of the type system. Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
0955bf048d
commit
c6bb8f62e8
20 changed files with 86 additions and 43 deletions
10
src/utils/base.dto..ts
Normal file
10
src/utils/base.dto..ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
/**
|
||||
* The base class for all DTOs.
|
||||
*/
|
||||
export abstract class BaseDto {}
|
Loading…
Add table
Add a link
Reference in a new issue