Add timestampBase option for live MediaStreamTrack sources

This commit is contained in:
Vanilagy
2026-04-27 19:38:45 +02:00
parent c89e7429f7
commit 9a1b8b2602
8 changed files with 124 additions and 38 deletions
+3 -3
View File
@@ -338,11 +338,11 @@ const generateDocs = (entryFiles: string[], apiConfigFile: string, dry = false)
if (linkText) {
// If custom link text is provided, always use it.
displayText = linkText.trim();
} else if (memberName) {
// If it's a member link, default the text to just the member name.
} else if (memberName && typeName === currentTypeName) {
// Member link on the current type: just the member name.
displayText = `\`${memberName}\``;
} else {
// Otherwise, it's a type link, so use the full type name.
// Type link, or member link on another type: use the full target.
displayText = `\`${cleanTarget}\``;
}