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: PageDataprovides the specific type for a specific path, the respective+page.server.tsand its parent+layout.server.ts. In contrast$page.datacan only be typed viaapp.d.tsfor the entire app/all paths.Can I somehow get the former (specific and inferring) behavior for
$page.datatoo?Beta Was this translation helpful? Give feedback.
All reactions