Created
April 26, 2023 02:08
-
-
Save edanisko/64635446ac72fecb45608c0784943ae3 to your computer and use it in GitHub Desktop.
SvelteKit Globals /app.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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