I seem to have issues compiling with
I seem to have issues compiling with wrangler dev when i try the typescript 5.2
using
keyword
await using _lock = await usingSemaphore(this._autoPersistanc...
4 Replies
Does anyone know why the tyscript using declaration does not compile with wrangler? https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-2.html#using-declarations-and-explicit-resource-management
Documentation - TypeScript 5.2
TypeScript 5.2 Release Notes
it looks like there's something in the rpc docs. https://developers.cloudflare.com/workers/runtime-apis/rpc/lifecycle/
Cloudflare Docs
Lifecycle | Cloudflare Workers docs
Memory management, resource management, and the lifecycle of RPC stubs.
aaah its experimental 🙂
npx wrangler@using-keyword-experimental dev
does anyone know how to enable experimental flags in the toml file?Were you ever able to determine if there was a way to do this through flags?