import { ArityOneFn } from './internal/common-types' ; import { Compose20 } from './compose.types' ; const compose = ( ... fns ) => ( initialArg ) => fns . reduceRight ( ( arg , fn ) => fn ( arg ) , initialArg ) ; export { compose } ; export default compose ;