Skip to content

Commit 4821d7c

Browse files
Sync kit docs (#906)
sync kit docs Co-authored-by: Rich-Harris <[email protected]>
1 parent f7acf37 commit 4821d7c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

apps/svelte.dev/content/docs/kit/25-build-and-deploy/60-adapter-cloudflare.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ To include type declarations for your bindings, reference them in your `src/app.
8686

8787
```ts
8888
/// file: src/app.d.ts
89+
import { KVNamespace, DurableObjectNamespace } from '@cloudflare/workers-types';
90+
8991
declare global {
9092
namespace App {
9193
interface Platform {

apps/svelte.dev/content/docs/kit/25-build-and-deploy/70-adapter-cloudflare-workers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ To include type declarations for your bindings, reference them in your `src/app.
107107

108108
```ts
109109
/// file: src/app.d.ts
110+
import { KVNamespace, DurableObjectNamespace } from '@cloudflare/workers-types';
111+
110112
declare global {
111113
namespace App {
112114
interface Platform {

0 commit comments

Comments
 (0)