Table of Contents

Method GetDiagnostics

Namespace
Alternet.Common.TypeScript.Compiler
Assembly
Alternet.Common.TypeScript.v9.dll

GetDiagnostics(string)

Gets list of syntax errors and warnings from the specified document.

public IEnumerable<Diagnostic> GetDiagnostics(string fileName)

Parameters

fileName string

File name containing source code.

Returns

IEnumerable<Diagnostic>

The set of Diagnostic containing information about syntax errors and warnings.