stashing code
This commit is contained in:
25
apps/frontend/src/app.d.ts
vendored
Normal file
25
apps/frontend/src/app.d.ts
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
// See https://svelte.dev/docs/kit/types#app.d.ts
|
||||
|
||||
import type { Session } from "@pkg/logic/domains/auth/session/data/entities";
|
||||
import type { UserModel } from "@pkg/logic/domains/user/data/entities";
|
||||
import "unplugin-icons/types/svelte";
|
||||
|
||||
// for information about these interfaces
|
||||
declare global {
|
||||
namespace App {
|
||||
// interface Error {}
|
||||
interface Locals {
|
||||
session?: Session;
|
||||
user?: UserModel;
|
||||
}
|
||||
// interface PageData {}
|
||||
// interface PageState {}
|
||||
// interface Platform {}
|
||||
}
|
||||
interface Window {
|
||||
dataLayer: Record<string, unknown>[];
|
||||
gtag: (...args: any[]) => void;
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
Reference in New Issue
Block a user