fix: format code

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-07-19 12:24:51 +02:00
parent d75d406e67
commit 34bf8f16b1
14 changed files with 46 additions and 22 deletions

View file

@ -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()}`,
);
}