import { composeXs } from '@tsfun/function' import Tag from 'string-template-format-base' export interface Compose { /** * Compose a tag with a function * @param g Outer unary function * @param f Inner template literal tag * @returns Template literal tag */ ( g: (x: FyGx) => Gy, f: Tag, ): Tag } export const compose: Compose = composeXs export default compose