Skip to content

toExports

ts
function Sources.toExports(sources: Source[]): Source[]

Takes a list of sources and returns a clean string containing export declarations for each one, based on Source.toExport.