Skip to content

Commit d413eb9

Browse files
Update outdated links for workers-types
1 parent daed515 commit d413eb9

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/content/docs/images/transform-images/transform-via-workers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ fetch(imageURL, {
137137
});
138138
```
139139

140-
These typings are also available in [our Workers TypeScript definitions library](https://github.com/cloudflare/workers-types).
140+
These typings are also available in [our Workers TypeScript definitions library](https://github.com/cloudflare/workerd/tree/main/npm/workers-types).
141141

142142
## Configure a Worker
143143

src/content/docs/workers/languages/javascript/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Refer to [Runtime APIs](/workers/runtime-apis/) for more information on specific
1515

1616
* [Getting Started](/workers/get-started/guide/)
1717
* [Quickstarts](/workers/get-started/quickstarts/) – More example repos to use as a basis for your projects
18-
* [TypeScript type definitions](https://github.com/cloudflare/workers-types)
18+
* [TypeScript type definitions](https://github.com/cloudflare/workerd/tree/main/npm/workers-types)
1919
* [JavaScript and web standard APIs](/workers/runtime-apis/web-standards/)
2020
* [Tutorials](/workers/tutorials/)
2121
* [Examples](/workers/examples/?languages=JavaScript)

src/content/docs/workers/languages/typescript/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { TabItem, Tabs, PackageManagers, Render } from "~/components";
1212

1313
TypeScript is a first-class language on Cloudflare Workers. All APIs provided in Workers are fully typed, and type definitions are generated directly from [workerd](https://github.com/cloudflare/workerd), the open-source Workers runtime.
1414

15-
We recommend you generate types for your Worker by running [`wrangler types`](/workers/wrangler/commands/#types). Cloudflare also publishes type definitions to [GitHub](https://github.com/cloudflare/workers-types) and [npm](https://www.npmjs.com/package/@cloudflare/workers-types) (`npm install -D @cloudflare/workers-types`).
15+
We recommend you generate types for your Worker by running [`wrangler types`](/workers/wrangler/commands/#types). Cloudflare also publishes type definitions to [GitHub](https://github.com/cloudflare/workerd/tree/main/npm/workers-types) and [npm](https://www.npmjs.com/package/@cloudflare/workers-types) (`npm install -D @cloudflare/workers-types`).
1616

1717
<h3 id="generate-types">
1818
Generate types that match your Worker's configuration
@@ -160,6 +160,6 @@ We recommend you commit your generated types file for use in CI. Alternatively,
160160
### Resources
161161
162162
- [TypeScript template](https://github.com/cloudflare/workers-sdk/tree/main/packages/create-cloudflare/templates/hello-world/ts)
163-
- [@cloudflare/workers-types](https://github.com/cloudflare/workers-types)
163+
- [workers-types](https://github.com/cloudflare/workerd/tree/main/npm/workers-types)
164164
- [Runtime APIs](/workers/runtime-apis/)
165165
- [TypeScript Examples](/workers/examples/?languages=TypeScript)

src/content/docs/workers/platform/changelog/historical-changelog.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ This page tracks changes made to Cloudflare Workers before 2023. For a view of m
5757

5858
* A `Headers` object with the `range` header can now be used for range within `R2GetOptions` for the `get` R2 binding.
5959
* When headers are used for `onlyIf` within `R2GetOptions` for the `get` R2 binding, they now correctly compare against the second granularity. This allows correctly round-tripping to the browser and back. Additionally, `secondsGranularity` is now an option that can be passed into options constructed by hand to specify this when constructing outside Headers for the same effect.
60-
* Fixed the TypeScript type of `DurableObjectState.id` in [@cloudflare/workers-types](https://github.com/cloudflare/workers-types) to always be a `DurableObjectId`.
60+
* Fixed the TypeScript type of `DurableObjectState.id` in [@cloudflare/workers-types](https://github.com/cloudflare/workerd/tree/main/npm/workers-types) to always be a `DurableObjectId`.
6161
* Validation errors during Worker upload for module scripts now include correct line and column numbers.
6262
* Bugfix, Profiling tools and flame graphs via Chrome’s debug tools now properly report information.
6363

0 commit comments

Comments
 (0)