Module

x/ts_morph/mod.ts>EmitResult#getDiagnostics

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method EmitResult.prototype.getDiagnostics
import { EmitResult } from "https://dotland.deno.dev/x/ts_morph@22.0.0/mod.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>[]