export type CypressFn < T > = ( ) => Cypress . Chainable < T > ; export function CypressAll < T1 , T2 , T3 , T4 , T5 , T6 > ( fns ) ; export function CypressAll < T1 , T2 , T3 , T4 , T5 > ( fns ) ; export function CypressAll < T1 , T2 , T3 , T4 > ( fns ) ; export function CypressAll < T1 , T2 , T3 > ( fns ) ; export function CypressAll < T1 , T2 > ( fns ) ; export function CypressAll < T1 > ( fns ) ; export function CypressAll < T > ( fns ) { const results = [ ] ; fns . forEach ( ( fn ) => { fn ( ) . then ( ( result ) => results . push ( result ) ) ; } ) ; return cy . wrap ( results ) ; }