Skip to content
Snippets Groups Projects
Commit 3345ee02 authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Update app.d.ts

parent 66b36dbf
No related branches found
No related tags found
No related merge requests found
// See https://kit.svelte.dev/docs/types#app // See https://kit.svelte.dev/docs/types#app
// for information about these interfaces // for information about these interfaces
// and what to do when importing types // and what to do when importing types
declare namespace App { // See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
declare global {
namespace App {
// interface Error {} // interface Error {}
type OpenIdConnectLocals = type OpenIdConnectLocals =
...@@ -9,9 +12,12 @@ declare namespace App { ...@@ -9,9 +12,12 @@ declare namespace App {
type UserLocals = import("$lib/server/user_handler").UserLocals type UserLocals = import("$lib/server/user_handler").UserLocals
interface Locals extends UserLocals, OpenIdConnectLocals { interface Locals extends UserLocals, OpenIdConnectLocals {
id_token?: string id_token?: string
user?: import("$lib/users").User user_id?: string
} }
// interface PageData {} // interface PageData {}
// interface Platform {} // interface Platform {}
} }
}
export {}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment