Skip to content

Commit 8aef436

Browse files
authored
fix cloudflare docs (#13086)
* fix cloudflare docs * gah missed a spot
1 parent 42c8bf3 commit 8aef436

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

documentation/docs/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 {

documentation/docs/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)