mirror of
https://github.com/BradNut/example-sveltekit-email-password-webauthn
synced 2025-09-08 17:40:27 +00:00
update app.d.ts
This commit is contained in:
parent
927ac0def7
commit
9d6b809e28
1 changed files with 5 additions and 2 deletions
7
src/app.d.ts
vendored
7
src/app.d.ts
vendored
|
|
@ -1,11 +1,14 @@
|
|||
// See https://kit.svelte.dev/docs/types#app
|
||||
// for information about these interfaces
|
||||
import type { User } from "$lib/server/user";
|
||||
import type { Session } from "$lib/server/session";
|
||||
|
||||
declare global {
|
||||
namespace App {
|
||||
// interface Error {}
|
||||
interface Locals {
|
||||
user: import("$lib/server/user").User | null;
|
||||
session: import("$lib/server/session").Session | null;
|
||||
user: User | null;
|
||||
session: Session | null;
|
||||
}
|
||||
// interface PageData {}
|
||||
// interface PageState {}
|
||||
|
|
|
|||
Loading…
Reference in a new issue