import { Argument } from '.' ; category export class Heredoc extends Argument { param content constructor ( content ) { super ( `<<EOT\n${ typeof content === 'string' ? content : JSON . stringify ( content , null , 2 ) }\nEOT\n` ) ; } } param content category export const heredoc = ( content ) : Heredoc => new Heredoc ( content ) ;