import { Diagnostic } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.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.