Add error definition

This commit is contained in:
Alessio Davoli 2023-12-22 13:20:37 +01:00
parent 59a6d8ea38
commit 02a6276240

View file

@ -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 {}