cloudflare-docs icon indicating copy to clipboard operation
cloudflare-docs copied to clipboard

docs: add documentation for the --experimental-include-runtime flag (draft)

Open andyjessop opened this issue 1 year ago • 2 comments

Summary

This adds documentation for the wrangler types --experimental-include-runtime flag that dynamically generates runtime types for any combination of compatibility_date and compatibility_flags.

The PR that introduces the feature: https://github.com/cloudflare/workers-sdk/pull/6295

Documentation checklist

andyjessop avatar Jul 23 '24 09:07 andyjessop

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9fde5d0
Status: ✅  Deploy successful!
Preview URL: https://af4c0999.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://aj-runtime-types.cloudflare-docs-7ou.pages.dev

View logs

We should add a changelog entry to this that links back to these docs. (I know that Wrangler automatically generates changelog entries but they can get missed in the noise)

irvinebroque avatar Aug 21 '24 04:08 irvinebroque

Are there plans to update the tsconfig automatically?

That could happen! We don't have plans for it right now, but if we have precedent for it in c3 then maybe it's something to consider.

andyjessop avatar Aug 23 '24 08:08 andyjessop