Skip to content

Commit

Permalink
Update $app/stores page.stuff to use App.Stuff (#3686)
Browse files Browse the repository at this point in the history
* Update $app/stores page.stuff to use App.Stuff

Following #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>
  • Loading branch information
tmarnet and Rich-Harris authored Feb 2, 2022
1 parent 21c0143 commit 01410ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/sharp-beers-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@sveltejs/kit": patch
---

Update $app/stores page.stuff to use App.Stuff
2 changes: 1 addition & 1 deletion packages/kit/types/ambient-modules.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ declare module '$app/stores' {
export const page: Readable<{
url: URL;
params: Record<string, string>;
stuff: Record<string, any>;
stuff: App.Stuff;
status: number;
error: Error | null;
}>;
Expand Down

0 comments on commit 01410ce

Please sign in to comment.