From c779515e3edb421068cc2847fcbce67593f8b275 Mon Sep 17 00:00:00 2001 From: Roberto Tonino Date: Tue, 11 May 2021 21:45:55 +0200 Subject: [PATCH] chore: replaced @ts-ignore with @ts-expect-error --- server/src/routes/api/register.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/routes/api/register.ts b/server/src/routes/api/register.ts index c967462..3c8bd01 100644 --- a/server/src/routes/api/register.ts +++ b/server/src/routes/api/register.ts @@ -35,7 +35,7 @@ const methods: Method[] = [ export function registerApis(app: Application) { methods.forEach(({ method, endpoints }) => { endpoints.forEach(endpoint => { - // @ts-ignore + // @ts-expect-error app[method](prependApiPath(endpoint.path), endpoint.handler) }) })