Skip to main content
Module

x/ts_morph/ts_morph.d.ts>EmitResult#getDiagnostics

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

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.

Returns

Diagnostic<ts.Diagnostic>[]