From 5de1f8c5ac0f9b74a827355cbb12cc0c79c231e8 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Mon, 22 Jul 2024 09:28:22 +0200 Subject: [PATCH] Update server.ts --- showcases/angular-ssr-showcase/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/showcases/angular-ssr-showcase/server.ts b/showcases/angular-ssr-showcase/server.ts index 692b014e1d2..3c3cd36fd16 100644 --- a/showcases/angular-ssr-showcase/server.ts +++ b/showcases/angular-ssr-showcase/server.ts @@ -40,7 +40,7 @@ export function app(): express.Express { providers: [{ provide: APP_BASE_HREF, useValue: baseUrl }] }) .then((html) => res.send(html)) - .catch((error) => { + .catch((error: unknown) => { next(error); }); });