mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-17 08:34:54 -04:00
fix: format code
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
d75d406e67
commit
34bf8f16b1
14 changed files with 46 additions and 22 deletions
|
@ -43,6 +43,7 @@ export const MarkdownBody = createParamDecorator(
|
|||
(target, key): void => {
|
||||
if (key === undefined) {
|
||||
throw new Error(
|
||||
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
||||
`Could not enhance param decorator for target ${target.toString()} because key is undefined`,
|
||||
);
|
||||
}
|
||||
|
@ -52,6 +53,7 @@ export const MarkdownBody = createParamDecorator(
|
|||
);
|
||||
if (!ownPropertyDescriptor) {
|
||||
throw new Error(
|
||||
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
||||
`Could not get property descriptor for target ${target.toString()} and key ${key.toString()}`,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue