Defines the common shape of the
page.data state and
$page.data store - that is,
the data that is shared between all pages. The Load and
ServerLoad functions in ./$types will be narrowed
accordingly. Use optional properties for data that is only present on specific pages.
Do not add an index signature ([key: string]: any).
Defines the common shape of the page.data state and $page.data store - that is, the data that is shared between all pages. The
Load
andServerLoad
functions in./$types
will be narrowed accordingly. Use optional properties for data that is only present on specific pages. Do not add an index signature ([key: string]: any
).