Skip to main content
Module

x/ts_morph/ts_morph.d.ts>EmitResult

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class EmitResult
import { EmitResult } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.d.ts";

Result of an emit.

Constructors

new
protected
EmitResult()

Properties

readonly
compilerObject: ts.EmitResult

TypeScript compiler emit result.

Methods

getDiagnostics(): Diagnostic<ts.Diagnostic>[]

Contains declaration emit diagnostics.

If the noEmitOnError compiler option is true, this will also include the program's semantic, syntactic, global, options, and if enabled declaration diagnostics.

getEmitSkipped(): boolean

If the emit was skipped.