Files
OSIT-AE-App-Svelte/src/app.d.ts

25 lines
590 B
TypeScript

// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
// and what to do when importing types
declare namespace App {
interface Locals {
userid: string;
}
// interface PageData {}
// interface Error {}
// interface Platform {}
}
declare global {
namespace App {
interface Platform {}
}
interface ImportMetaEnv {
VITE_NOVI_API_KEY: string;
VITE_NOVI_MOD_GROUP_GUID: string;
VITE_JITSI_TOKEN_ENDPOINT: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}
}