/** * map list of parameter to record of function with the same parameter */ declare type MapSingle = { [Key in keyof Arguments]: (arg: Arguments[Key]) => any; }; export default MapSingle;