[F] emitFile
function emitFile(program, options): Promise<void>
Helper to emit a file.
Parameters
Parameter | Type | Description |
---|---|---|
program | Program | TypeSpec Program |
options | EmitFileOptions | File Emitter options |
Returns
Promise
<void
>
function emitFile(program, options): Promise<void>
Helper to emit a file.
Parameter | Type | Description |
---|---|---|
program | Program | TypeSpec Program |
options | EmitFileOptions | File Emitter options |
Promise
<void
>