Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Deno.EmitResult

UNSTABLE: new API, yet to be vetted.

The result of Deno.emit() API.

interface EmitResult {
diagnostics: Diagnostic[];
files: Record<string, string>;
ignoredOptions?: string[];
stats: Array<[string, number]>;
}

§Properties

§
diagnostics: Diagnostic[]
[src]

Diagnostic messages returned from the type checker (tsc).

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

§
files: Record<string, string>
[src]

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.

§
ignoredOptions?: string[]
[src]

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

§
stats: Array<[string, number]>
[src]

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