Skip to content

Commit fbe88ba

Browse files
Copilotkobenguyent
andcommitted
Fix container type definition with explicit interface
Co-authored-by: kobenguyent <7845001+kobenguyent@users.noreply.github.com>
1 parent 17d8c93 commit fbe88ba

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

typings/index.d.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,20 @@ declare module 'codeceptjs' {
640640
export const codecept: typeof CodeceptJS.Codecept
641641
export const Codecept: typeof CodeceptJS.Codecept
642642
export const output: typeof CodeceptJS.output
643-
export const container: typeof CodeceptJS.Container
643+
export const container: {
644+
helpers(name?: string): any
645+
support(name?: string): any
646+
plugins(name?: string): any
647+
translation(): any
648+
mocha(): any
649+
result(): any
650+
append(newContainer: any): void
651+
clear(newHelpers?: any, newSupport?: any, newPlugins?: any): Promise<void>
652+
started(fn?: Function | null): Promise<void>
653+
share(data: any, options?: any): void
654+
createMocha(config?: any, opts?: any): void
655+
actor(): any
656+
}
644657
export const event: typeof CodeceptJS.event
645658
export const recorder: CodeceptJS.recorder
646659
export const config: typeof CodeceptJS.Config

0 commit comments

Comments
 (0)