Radoš
Radoš
@SelfhostedPro You can pass it as a function argument or store it as a state. ```js app.derive((c: CF) => { const auth = utilsAuth(c.ctx); return { auth } }); ```
> Where does `ExecutionContext` come from? @cloudflare/workers-types
@Ehesp You just need to update to the latest version, and it will work out of the box.
@Ehesp in version like `0.8`, you would use something like ```ts interface CF extends Context { env: Env; ctx: ExecutionContext; } ``` ```ts interface CF extends Context { env: Env;...