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
|
// for information about these interfaces
|
||||||
declare global {
|
declare global {
|
||||||
namespace App {
|
namespace App {
|
||||||
// interface Error {}
|
export interface Error {
|
||||||
|
status: number;
|
||||||
|
message: string;
|
||||||
|
}
|
||||||
// interface Locals {}
|
// interface Locals {}
|
||||||
// interface PageData {}
|
// interface PageData {}
|
||||||
// interface Platform {}
|
// interface Platform {}
|
||||||
|
|
Loading…
Reference in a new issue