Skip to content

Commit 7e2871d

Browse files
committed
Fix coloring of predicate types, resolves #2249
1 parent a443269 commit 7e2871d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
### Bug Fixes
44

55
- Even more contrast fixes, #2248.
6+
- Fix semantic highlighting for predicate type's parameter references, #2249.
67

78
## v0.24.4 (2023-04-16)
89

src/lib/output/themes/default/partials/type.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ const typeRenderers: {
242242
return (
243243
<>
244244
{!!type.asserts && <span class="tsd-signature-symbol">asserts </span>}
245-
<span class="tsd-signature-type">{type.name}</span>
245+
<span class="tsd-kind-parameter">{type.name}</span>
246246
{!!type.targetType && (
247247
<>
248248
<span class="tsd-signature-symbol"> is </span>

0 commit comments

Comments
 (0)