What each kit shares through app.context, by key, so app.context.get('db') is typed. Kits add their keys with declaration merging, and so can an app:
app.context
app.context.get('db')
declare module '@iskra-bun/core' { interface AppContextRegistry { bridge: DesktopBridge; }} Copy
declare module '@iskra-bun/core' { interface AppContextRegistry { bridge: DesktopBridge; }}
What each kit shares through
app.context, by key, soapp.context.get('db')is typed. Kits add their keys with declaration merging, and so can an app: