mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 14:05:47 -05:00
Fix all internal JSDoc comments
If these are regular comments, then they won't appear in our d.ts files. But, now we are relying on an external d.ts bundler to produce our final merged, so they need to be present in the "input" d.ts files, meaning they have to be JSDoc comments. These comments only work today because all of our builds load their TS files from scratch, so they see the actual source files and their non-JSDoc comments. The comments also need to be attached to a declaration, not floating, otherwise they won't be used by api-extractor, so move them if needed.
This commit is contained in:
@@ -10,6 +10,7 @@ const os = require("os");
|
||||
reporter?: Mocha.ReporterConstructor | keyof Mocha.reporters;
|
||||
reporterOptions?: any; // TODO(jakebailey): what?
|
||||
}} ReporterOptions */
|
||||
void 0;
|
||||
|
||||
/**
|
||||
* .failed-tests reporter
|
||||
|
||||
@@ -9,6 +9,7 @@ import fs from "fs";
|
||||
isEarly?: boolean;
|
||||
elidedInCompatabilityPyramid?: boolean;
|
||||
}} DiagnosticDetails */
|
||||
void 0;
|
||||
|
||||
/** @typedef {Map<string, DiagnosticDetails>} InputDiagnosticMessageTable */
|
||||
|
||||
|
||||
@@ -60,6 +60,7 @@ const sys = (() => {
|
||||
subscript?: boolean;
|
||||
};
|
||||
}} FindReplaceOptions */
|
||||
void 0;
|
||||
|
||||
/**
|
||||
* @param {Word.Document} doc
|
||||
|
||||
Reference in New Issue
Block a user