Skip to content

Commit

Permalink
Create app.d.ts file introduced with 1.0.0-next.257
Browse files Browse the repository at this point in the history
Add App namespace for app-level types [#3670](sveltejs/kit#3670)
  • Loading branch information
indaco committed Feb 2, 2022
1 parent 204910a commit 96a6775
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/app.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/// <reference types="@sveltejs/kit" />

// See https://kit.svelte.dev/docs#typescript
// for information about these interfaces
declare namespace App {
interface Locals {
userid: string;
}

interface Platform {}

interface Session {}

interface Stuff {}
}

0 comments on commit 96a6775

Please sign in to comment.