Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
fwang committed Jan 6, 2025
1 parent 2177a29 commit 038ed95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions www/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,9 @@ function renderType(type: TypeDoc.SomeType): Text {
].join("")
}
function renderOpenAuthType(type: TypeDoc.ReferenceType) {
// Reference to a generic type, ie. T
if (type.refersToTypeParameter) return `<code class="primitive">any</code>`

// Reference to a non-documented type, ie. FetchLike
if (!type.reflection) return `<code class="type">${type.name}</code>`

Expand Down

0 comments on commit 038ed95

Please sign in to comment.