language-learning-app/frontend/src/app.d.ts

19 lines
407 B
TypeScript

import type { ApiClient } from './client/types.gen.ts';
// See https://svelte.dev/docs/kit/types#app.d.ts
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
interface Locals {
apiClient?: ApiClient;
authToken: string | null;
isAdmin: boolean;
}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
}
export {};