import { Diagnostic } from "https://deno.land/x/ts_morph@17.0.0/mod.ts";
Diagnostic.
Properties
readonly
compilerObject: TCompilerObjectGets the underlying compiler diagnostic.
Methods
Gets the diagnostic category.
getCode(): number
Gets the code of the diagnostic.
getLength(): number | undefined
Gets the length.
getLineNumber(): number | undefined
Gets the line number.
getMessageText(): string | DiagnosticMessageChain
Gets the message text.
getSource(): string | undefined
Gets the source.
getSourceFile(): SourceFile | undefined
Gets the source file.
getStart(): number | undefined
Gets the start.