Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

feat: use official wrangler schema for type definitions #12

Open
sor4chi opened this issue Apr 10, 2024 · 0 comments
Open

feat: use official wrangler schema for type definitions #12

sor4chi opened this issue Apr 10, 2024 · 0 comments

Comments

@sor4chi
Copy link
Owner

sor4chi commented Apr 10, 2024

Yesterday, Cloudflare merged this pull request.
cloudflare/workers-sdk#5550

This change will include config-schema.json in wrangler's export files.
Therefore, this can be used to generate types based on the officially provided schema.

(Of course, you could also use RawConfig as-is as a type definition.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant