Reflected changes in requirements
This commit is contained in:
parent
9419ce3533
commit
fcab0782d5
10
src/app.d.ts
vendored
10
src/app.d.ts
vendored
@ -1,14 +1,20 @@
|
|||||||
|
import type { AppData } from "$lib/classes/app-sessions";
|
||||||
|
|
||||||
// See https://svelte.dev/docs/kit/types#app.d.ts
|
// See https://svelte.dev/docs/kit/types#app.d.ts
|
||||||
// for information about these interfaces
|
// for information about these interfaces
|
||||||
declare global {
|
declare global {
|
||||||
namespace App {
|
namespace App {
|
||||||
// interface Error {}
|
// interface Error {}
|
||||||
// interface Locals {}
|
|
||||||
// interface PageData {}
|
// interface PageData {}
|
||||||
// interface PageState {}
|
// interface PageState {}
|
||||||
// interface Platform {}
|
// interface Platform {}
|
||||||
|
|
||||||
|
interface Locals {
|
||||||
|
session: AppData | null
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export {};
|
export { };
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user