Files
ComfyBox/src/routes/+page.ts
2023-04-07 04:50:16 -05:00

17 lines
595 B
TypeScript

import type { PageLoad } from "./$types"
// `PageServerData` will contain everything from the layouts and also the
// `data` from the `+page.server.ts` file.
type OutputProps = {}
// We have imported the `PageLoad` type from the relative `./$types` folder that
// is hidden in the generated `.svelte-kit` folder. Those generated types
// contain a `PageLoad` type with a `params` and `data` object that matches our route.
// You need to run the dev server or `svelte-kit sync` to generate them.
export const load: PageLoad<OutputProps> = async ({
params,
data,
}) => {
return {}
}