Skip to content

Commit 01410ce

Browse files
tmarnetRich-Harris
andauthored
Update $app/stores page.stuff to use App.Stuff (sveltejs#3686)
* Update $app/stores page.stuff to use App.Stuff Following sveltejs#3670, `page.stuff` from `$app/stores` should use `App.Stuff` instead of the old `Record<string, any>` * Create sharp-beers-know.md Co-authored-by: Rich Harris <hello@rich-harris.dev>
1 parent 21c0143 commit 01410ce

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/sharp-beers-know.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@sveltejs/kit": patch
3+
---
4+
5+
Update $app/stores page.stuff to use App.Stuff

packages/kit/types/ambient-modules.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ declare module '$app/stores' {
125125
export const page: Readable<{
126126
url: URL;
127127
params: Record<string, string>;
128-
stuff: Record<string, any>;
128+
stuff: App.Stuff;
129129
status: number;
130130
error: Error | null;
131131
}>;

0 commit comments

Comments
 (0)