That's the new typegen stuff with `wrangler types`. I'm personally not a big fan of it, but it's whe
That's the new typegen stuff with
wrangler types
. I'm personally not a big fan of it, but it's where things seem to be moving. I believe it causes more problems than what it sets out to solve - such as no nodejs_compat
, interop with libraries that do need to import from workers-types
and now ending up with duplicate types, etc. so in all of my projects I'm still using workers-types
and defining my Env
manually.0 Replies