mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
Remove doc strings from cli/js TS files (#4329)
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
This commit is contained in:
parent
3ac642c183
commit
e435c2be15
87 changed files with 0 additions and 2025 deletions
|
@ -71,7 +71,6 @@ function getSourceInformation(
|
|||
};
|
||||
}
|
||||
|
||||
/** Converts a TypeScript diagnostic message chain to a Deno one. */
|
||||
function fromDiagnosticMessageChain(
|
||||
messageChain: ts.DiagnosticMessageChain[] | undefined
|
||||
): DiagnosticMessageChain[] | undefined {
|
||||
|
@ -89,7 +88,6 @@ function fromDiagnosticMessageChain(
|
|||
});
|
||||
}
|
||||
|
||||
/** Parse out information from a TypeScript diagnostic structure. */
|
||||
function parseDiagnostic(
|
||||
item: ts.Diagnostic | ts.DiagnosticRelatedInformation
|
||||
): DiagnosticItem {
|
||||
|
@ -130,8 +128,6 @@ function parseDiagnostic(
|
|||
return sourceInfo ? { ...base, ...sourceInfo } : base;
|
||||
}
|
||||
|
||||
/** Convert a diagnostic related information array into a Deno diagnostic
|
||||
* array. */
|
||||
function parseRelatedInformation(
|
||||
relatedInformation: readonly ts.DiagnosticRelatedInformation[]
|
||||
): DiagnosticItem[] {
|
||||
|
@ -142,7 +138,6 @@ function parseRelatedInformation(
|
|||
return result;
|
||||
}
|
||||
|
||||
/** Convert TypeScript diagnostics to Deno diagnostics. */
|
||||
export function fromTypeScriptDiagnostic(
|
||||
diagnostics: readonly ts.Diagnostic[]
|
||||
): Diagnostic {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue