Closed KuznetsovRoman closed 4 months ago
Resolves #883
HermioneCtx
// global.d.ts import type { HermioneCtx } from "hermione";
declare module "hermione" { interface HermioneCtx { someVariable: string; } }
- Use `hermione.ctx` with extended typings: ```ts hermione.ctx.someVariable // string
Resolves #883
Usage example
HermioneCtx
from module "hermione":declare module "hermione" { interface HermioneCtx { someVariable: string; } }