Skip to content

Instantly share code, notes, and snippets.

@edanisko
Created April 26, 2023 02:08
Show Gist options
  • Save edanisko/64635446ac72fecb45608c0784943ae3 to your computer and use it in GitHub Desktop.
Save edanisko/64635446ac72fecb45608c0784943ae3 to your computer and use it in GitHub Desktop.
SvelteKit Globals /app.d.ts
import type { PrismaClient } from '@prisma/client'
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
// interface Locals {}
// interface PageData {}
// interface Platform {}
}
var prisma: PrismaClient
}
export {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment