ctx: Context = {}

A global context variable for configuring libraries and applications.

In your application, you'll want to add something like the following to your types.d.ts: type MyContext = { x: number }

declare module "@welshman/lib" { interface Context { net: MyContext } }