mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 12:57:47 +00:00
There were recently a few breaking changes introduced into SvelteKit. This PR clones that latest changes from a demo SvelteKit application, while retaining support for Vercel Analytics. Deployed latest to https://sveltekit-template.vercel.app/ and confirmed analytics are sending.
15 lines
284 B
TypeScript
15 lines
284 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 Platform {}
|
|
|
|
// interface PrivateEnv {}
|
|
|
|
// interface PublicEnv {}
|
|
}
|