Skip to content

[F] compile

function compile(
host,
mainFile,
options,
oldProgram?): Promise<Program>

Parameters

ParameterType
hostCompilerHost
mainFilestring
optionsCompilerOptions
oldProgram?Program

Returns

Promise<Program>