thomaswilson-sveltekit/src/app.d.ts

16 lines
406 B
TypeScript
Raw Normal View History

2022-04-16 10:43:45 +00:00
/// <reference types="@sveltejs/kit" />
2026-03-01 08:52:30 +00:00
import type { PrismaClient } from '../generated/prisma/client.ts';
2022-04-16 10:43:45 +00:00
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
2026-03-01 08:52:30 +00:00
declare global {
namespace App {
interface Locals {
prisma: PrismaClient;
}
// interface Platform {}
// interface Session {}
// interface Stuff {}
}
2022-04-16 10:43:45 +00:00
}