Email worker template?
From the email workers documentation there's a nice description of how to create a worker. https://developers.cloudflare.com/email-routing/email-workers/
Trying to start a project I'm looking for a typescript template or simply the types.
The page links to languages:
https://developers.cloudflare.com/workers/platform/languages/
Which links to:
https://github.com/cloudflare/workers-types
Which is archived - types now live in workerd (which is a C++ repo):
https://github.com/cloudflare/workerd
From there it's unclear how to use types for email workers in your project. So from following that path it's unclear: How to include the types?
And if the answer is "use the regular worker typescript template", that's fine too. Perhaps it would be nice to see this reflected in the docs - I'd be happy to submit a PR for that.
Trying to start a project I'm looking for a typescript template or simply the types.
The page links to languages:
https://developers.cloudflare.com/workers/platform/languages/
Which links to:
https://github.com/cloudflare/workers-types
Which is archived - types now live in workerd (which is a C++ repo):
https://github.com/cloudflare/workerd
From there it's unclear how to use types for email workers in your project. So from following that path it's unclear: How to include the types?
And if the answer is "use the regular worker typescript template", that's fine too. Perhaps it would be nice to see this reflected in the docs - I'd be happy to submit a PR for that.