import { ShellString } from "shelljs" ; export type AppendToFile = ( msg : string , file : string ) => void ; export default function provideAppendToFile ( ) { return function appendToFile ( msg , filename ) { new ShellString ( `${ msg }\n` ) . toEnd ( filename ) ; } ; }