interface Deno.EmitResult

UNSTABLE: new API, yet to be vetted.

The result of Deno.emit() API.

Properties

diagnostics: Diagnostic[]

Diagnostic messages returned from the type checker (tsc).

Can be used with Deno.formatDiagnostics to display a user friendly string.

files: Record<string, string>

Any emitted files. If bundled, then the JavaScript will have the key of deno:///bundle.js with an optional map (based on compilerOptions) in deno:///bundle.js.map.

optional
ignoredOptions: string[]

An optional array of any compiler options that were ignored by Deno.

stats: Array<[string, number]>

An array of internal statistics related to the emit, for diagnostic purposes.