| 1 | // Typed without `./$types` so the example type-checks before the first |
| 2 | // build (SvelteKit's generated types only exist after `svelte-kit sync`). |
| 3 | export const load = ({ platform }: { platform?: App.Platform }) => { |
| 4 | return { |
| 5 | greeting: platform?.env?.GREETING ?? "Hello!", |
| 6 | }; |
| 7 | }; |