@xtrek/ts-migrate-plugins
Version:
Set of codemods, which are doing transformation of js/jsx to ts/tsx
4 lines (3 loc) • 325 B
TypeScript
import ts from 'typescript';
export declare function isDiagnosticWithLinePosition(diagnostic: ts.Diagnostic | ts.DiagnosticWithLocation | undefined): diagnostic is ts.DiagnosticWithLocation;
export declare function isDiagnostic(diagnostic: ts.Diagnostic | ts.DiagnosticWithLocation | undefined): diagnostic is ts.Diagnostic;