Closed KuznetsovRoman closed 3 months ago
After this PR, user would be able to use clean module augmentation. Example:
import type { TestFunctionCtx as TestplaneTestFunctionCtx } from "testplane"; declare module 'testplane' { export interface TestFunctionCtx extends TestplaneTestFunctionCtx { myFunc(var1: string, var2: number): Promise<void>; } }
Also he would be able to pass test function context to other functions and type them properly: https://github.com/gemini-testing/testplane/discussions/939
After this PR, user would be able to use clean module augmentation. Example:
Also he would be able to pass test function context to other functions and type them properly: https://github.com/gemini-testing/testplane/discussions/939