Skip to main content
Module

x/ts_morph/ts_morph.d.ts>DiagnosticWithLocation

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

Constructors

new
private
DiagnosticWithLocation()

Methods

getLength(): number

Gets the length

getLineNumber(): number

Gets the line number.

getSourceFile(): SourceFile

Gets the source file.

getStart(): number

Gets the start.