// See https://svelte.dev/docs/kit/types#app.d.ts // for information about these interfaces import type { User, Session } from "$lib/types/chat"; declare global { namespace App { // interface Error {} interface Locals { user: User | null; session: Session | null; } // interface PageData {} // interface PageState {} // interface Platform {} } type Window = object } export {};