sincecutoff.com
← all changes

wrangler dev generates worker configuration types

Introduced 2026-01-07 · score 0.97

HOW TO USE IT

When starting a Worker’s local development server, enable automatic configuration type generation with `wrangler dev --types` or set `dev.generate_types` to `true` in Wrangler configuration.

wrangler dev --types
{ "dev": { "generate_types": true } }

WHY THIS HELPS

When starting local development for a Worker, generate its configuration types automatically.

REQUIREMENTS AND LIMITATIONS

  • Version: 4.57.0
  • --types: Boolean flag; generate types from Worker configuration. Defaults to false.
  • dev.generate_types: Boolean configuration option; generate types from Worker configuration. Defaults to false.
  • Types are generated when the local Wrangler development server starts.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card