From 02a6276240181792e47da35345b27fa12ba474ac Mon Sep 17 00:00:00 2001 From: Alessio Davoli Date: Fri, 22 Dec 2023 13:20:37 +0100 Subject: [PATCH] Add error definition --- frontend/src/app.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/app.d.ts b/frontend/src/app.d.ts index d77aac2..882b576 100644 --- a/frontend/src/app.d.ts +++ b/frontend/src/app.d.ts @@ -2,7 +2,10 @@ // for information about these interfaces declare global { namespace App { - // interface Error {} + export interface Error { + status: number; + message: string; + } // interface Locals {} // interface PageData {} // interface Platform {}