Replies: 1 comment
-
I'm pretty sure this can't happen automatically -- i.e. the inferred shape of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
export let data: PageData
provides the specific type for a specific path, the respective+page.server.ts
and its parent+layout.server.ts
. In contrast$page.data
can only be typed viaapp.d.ts
for the entire app/all paths.Can I somehow get the former (specific and inferring) behavior for
$page.data
too?Beta Was this translation helpful? Give feedback.
All reactions