Skip to content

Commit 2d03a9f

Browse files
authored
[Workers] Point users to the npm package for workers-types instead of the archived repo (#18853)
* [Workers] Point users to the new home of workers-types Point users to the [new home](https://github.com/cloudflare/workerd/tree/main/npm/workers-types) of workers-types * Update src/content/docs/workers/runtime-apis/request.mdx
1 parent 9916e18 commit 2d03a9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/workers/runtime-apis/request.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ An object containing Cloudflare-specific properties that can be set on the `Requ
9999
fetch(event.request, { cf: { scrapeShield: false } })
100100
```
101101

102-
Invalid or incorrectly-named keys in the `cf` object will be silently ignored. Consider using TypeScript and [`@cloudflare/workers-types`](https://github.com/cloudflare/workers-types) to ensure proper use of the `cf` object.
102+
Invalid or incorrectly-named keys in the `cf` object will be silently ignored. Consider using TypeScript and [`@cloudflare/workers-types`](https://www.npmjs.com/package/@cloudflare/workers-types) to ensure proper use of the `cf` object.
103103

104104

105105

@@ -413,4 +413,4 @@ Using any other type of `ReadableStream` as the body of a request will result in
413413
* [Examples: Modify request property](/workers/examples/modify-request-property/)
414414
* [Examples: Accessing the `cf` object](/workers/examples/accessing-the-cloudflare-object/)
415415
* [Reference: `Response`](/workers/runtime-apis/response/)
416-
* Write your Worker code in [ES modules syntax](/workers/reference/migrate-to-module-workers/) for an optimized experience.
416+
* Write your Worker code in [ES modules syntax](/workers/reference/migrate-to-module-workers/) for an optimized experience.

0 commit comments

Comments
 (0)