versioned-d.ts-tools 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dts-utilities.js +2 -2
- package/package.json +1 -1
package/dist/dts-utilities.js
CHANGED
|
@@ -171,7 +171,7 @@ class APISet {
|
|
|
171
171
|
const className = clas.getClassName();
|
|
172
172
|
// Special handling for <global> - no link
|
|
173
173
|
if (className === "<global>") {
|
|
174
|
-
output += "
|
|
174
|
+
output += "|*global*|";
|
|
175
175
|
}
|
|
176
176
|
else {
|
|
177
177
|
output += "|[" + className + "](/"
|
|
@@ -283,7 +283,7 @@ function buildFieldLink(relativePath, className, field) {
|
|
|
283
283
|
let hostName = relativePath.substring(relativePath.indexOf("/api/") + 5, relativePath.lastIndexOf("/"));
|
|
284
284
|
let fileName = relativePath.substring(relativePath.lastIndexOf("/") + 1, relativePath.lastIndexOf("."));
|
|
285
285
|
let anchorPrefix = hostName + "-" + fileName + "-";
|
|
286
|
-
return "/" + relativePath.substring(0, relativePath.lastIndexOf(".")) + "#" + anchorPrefix + field.name.toLowerCase() + "-function";
|
|
286
|
+
return "/" + relativePath.substring(0, relativePath.lastIndexOf(".")) + "#" + anchorPrefix + field.name.toLowerCase() + "-function(1)";
|
|
287
287
|
}
|
|
288
288
|
// Build the standard link anchor format based on host.
|
|
289
289
|
let hostName = relativePath.substring(relativePath.indexOf("/api/") + 5, relativePath.lastIndexOf("/"));
|