Skip to content

Commit 0af1f37

Browse files
committed
export all internal API objects from codeceptjs module
1 parent fc51b98 commit 0af1f37

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

typings/index.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -658,12 +658,12 @@ declare module 'codeceptjs' {
658658
/**
659659
* Event dispatcher for listening to CodeceptJS events
660660
*/
661-
export const event: CodeceptJS.event
661+
export const event: typeof CodeceptJS.event
662662

663663
/**
664664
* Global promise chain recorder
665665
*/
666-
export const recorder: CodeceptJS.recorder
666+
export const recorder: typeof CodeceptJS.recorder
667667

668668
/**
669669
* Configuration module
@@ -683,12 +683,12 @@ declare module 'codeceptjs' {
683683
/**
684684
* Pause execution until user input
685685
*/
686-
export const pause: CodeceptJS.pause
686+
export const pause: typeof CodeceptJS.pause
687687

688688
/**
689689
* Execute steps within specific context
690690
*/
691-
export const within: CodeceptJS.within
691+
export const within: typeof CodeceptJS.within
692692

693693
/**
694694
* Create data tables for data-driven tests
@@ -703,7 +703,7 @@ declare module 'codeceptjs' {
703703
/**
704704
* Shared store for test data
705705
*/
706-
export const store: CodeceptJS.store
706+
export const store: typeof CodeceptJS.store
707707

708708
/**
709709
* Locator builder

0 commit comments

Comments
 (0)