| 1 | // Ambient SvelteKit types for the example. `App.Platform` mirrors what the |
| 2 | // Cloudflare adapter provides at runtime — declared here so the example |
| 3 | // type-checks before the first `svelte-kit sync`. |
| 4 | declare global { |
| 5 | namespace App { |
| 6 | interface Platform { |
| 7 | env?: { |
| 8 | GREETING?: string; |
| 9 | }; |
| 10 | } |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | export {}; |