Add error definition
This commit is contained in:
parent
59a6d8ea38
commit
02a6276240
1 changed files with 4 additions and 1 deletions
5
frontend/src/app.d.ts
vendored
5
frontend/src/app.d.ts
vendored
|
@ -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 {}
|
||||
|
|
Loading…
Reference in a new issue