From 15330a91e1106ac8f9f0a52e9103644d851a2c6b Mon Sep 17 00:00:00 2001 From: Gerome Grignon Date: Thu, 26 Oct 2023 00:28:59 +0200 Subject: [PATCH] chore: prettify --- .../src/app/models/http-exception.model.ts | 5 +- .../demo/src/app/nx-welcome.component.ts | 121 +++++++++++++++--- apps/conduit/demo/src/index.html | 2 +- apps/demo/index.html | 2 +- apps/storybook/index.html | 2 +- apps/storybook/public/index.css | 28 +++- .../molecules/counter/counter.utils.ts | 4 +- .../stories/utils/overview-element.module.css | 5 +- 8 files changed, 137 insertions(+), 32 deletions(-) diff --git a/apps/api/src/app/models/http-exception.model.ts b/apps/api/src/app/models/http-exception.model.ts index 3a88dde14..59238501a 100644 --- a/apps/api/src/app/models/http-exception.model.ts +++ b/apps/api/src/app/models/http-exception.model.ts @@ -1,7 +1,10 @@ class HttpException extends Error { errorCode: number; - constructor(errorCode: number, public readonly message: string | any) { + constructor( + errorCode: number, + public readonly message: string, + ) { super(message); this.errorCode = errorCode; } diff --git a/apps/conduit/demo/src/app/nx-welcome.component.ts b/apps/conduit/demo/src/app/nx-welcome.component.ts index 276257db8..58386d6e0 100644 --- a/apps/conduit/demo/src/app/nx-welcome.component.ts +++ b/apps/conduit/demo/src/app/nx-welcome.component.ts @@ -16,9 +16,21 @@ import { CommonModule } from '@angular/common';