udacity / cloudflare-typescript-workers

Types and mocks for building a tested Typescript Cloudflare Worker, generates three NPM packages
Apache License 2.0
139 stars 12 forks source link

Environment variables #34

Closed simplenotezy closed 2 years ago

simplenotezy commented 2 years ago

How can I set global environment variables accessable on the env property?

image
sodabrew commented 2 years ago

This package was never updated to handle Module-format workers. I'll close this issue as this project will be archived. Please use Cloudflare's package from https://github.com/cloudflare/workers-types