Types cloudflare. Cloudflare API data types and various type helpers.

Types cloudflare. For information about installing and setting up the package in your project, see Installation and Setup. 0, last published: 2 months ago. Here is an example PR from our Cloudflare bot. It also allows projects running Workers in other, statically-typed languages to generate their own types from our intermediate representation. . Latest version: 2. Cloudflare API data types and various type helpers. 7. workers-types Automatically generating types for Cloudflare WorkersThis means the static types will always be accurate and up to date. There are 3 other projects in the npm registry using @types/cloudflare. 15, last published: 5 months ago. May 13, 2025 · The types in this package mirror the actual interfaces and classes implemented in the Cloudflare Workers runtime, ensuring accurate representation of the platform's capabilities. toml configuration file). Jul 31, 2025 · TypeScript is a first-class language on Cloudflare Workers. Start using @cloudflare/types in your project by running `npm i @cloudflare/types`. The Cloudflare Workers runtime manages backwards compatibility through the use of Compatibility Dates. 0. Using different compatibility dates affects the runtime types available to your Worker, and so it's important you specify the correct entrypoint to the workers-types package to match your compatibility date (which is usually set in your wrangler. It’s detected a change in the runtime types and is updating the TypeScript files as Jul 29, 2024 · TypeScript definitions for cloudflare. All APIs provided in Workers are fully typed, and type definitions are generated directly from workerd, the open-source Workers runtime. There are 40 other projects in the npm registry using @cloudflare/types. Start using @types/cloudflare in your project by running `npm i @types/cloudflare`. Latest version: 7. luyyb uuaawvt yoxmh fyxz wstc mpdblp qgvch pilpa wkmhc vyppgqb