Patch Changes
-
#16546
dd31809Thanks @edmundhung! - Include the types generated bycf workers typesintsconfig.jsonwhen configuring forcfcf workers typeswrites the Worker's types to.cloudflare/types. Patterns in theincludearray oftsconfig.json, such as**/*, skip folders whose names start with a dot, so type checking couldn't findEnvafter autoconfig. Autoconfig now adds.cloudflare/typesto thatincludearray forcfprojects with a Worker, ascf initdoes for new projects. Whentsconfig.jsonhas noincludearray, autoconfig asks you to add the entry yourself. -
Updated dependencies [
a95d647]:- @cloudflare/config@0.29.0
- @cloudflare/workers-utils@0.50.0
- @cloudflare/cli-shared-helpers@0.2.10