Skip to content

Commit 96a6775

Browse files
committed
Create app.d.ts file introduced with 1.0.0-next.257
Add App namespace for app-level types [#3670](sveltejs/kit#3670)
1 parent 204910a commit 96a6775

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Diff for: src/app.d.ts

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/// <reference types="@sveltejs/kit" />
2+
3+
// See https://kit.svelte.dev/docs#typescript
4+
// for information about these interfaces
5+
declare namespace App {
6+
interface Locals {
7+
userid: string;
8+
}
9+
10+
interface Platform {}
11+
12+
interface Session {}
13+
14+
interface Stuff {}
15+
}

0 commit comments

Comments
 (0)