import { Test } from '../types' ; import { curry } from '@typed/curry' ; export const timeout = curry ( function timeout ( ms , test ) { test . timeout = ms ; return test ; } ) ; export interface TimeoutFn { ( ms , test ) : Test ; ( ms ) : ( test : Test ) => Test ; }