import { fileSystemService } from 'services' ; async param { PortCompiler } props returns { Promise < void > } example export async function createFromInMemoryPort ( props ) { const { template , output } = props ; const { writeFile } = fileSystemService ( ) ; await writeFile ( output , template ) ; }