cloudflare-docs
cloudflare-docs copied to clipboard
[Docs Site] Add TypeScriptExample component
Summary
Adds a TypeScriptExample component which uses detype to turn a TS codeblock into JS & TS tabbed codeblocks, and dedupes all appropriate JS/TS codeblocks with it.
Does this output JSDoc, or is it just type stripping?
Deploying cloudflare-docs with
Cloudflare Pages
| Latest commit: |
772c10a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e28841a4.cloudflare-docs-7ou.pages.dev |
| Branch Preview URL: | https://kian-add-typescriptexample-c.cloudflare-docs-7ou.pages.dev |
Files with changes (up to 15)
Very cool
Superseded by https://github.com/cloudflare/cloudflare-docs/pull/17284/