Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/js/diagnostics.ts>fromTypeScriptDiagnostic

A modern runtime for JavaScript and TypeScript.
Go to Latest
function fromTypeScriptDiagnostic
import { fromTypeScriptDiagnostic } from "https://deno.land/x/deno@v0.28.0/cli/js/diagnostics.ts";

Convert TypeScript diagnostics to Deno diagnostics.

Parameters

diagnostics: readonly ts.Diagnostic[]