We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ab33a0 commit 640f35dCopy full SHA for 640f35d
lib/declaration-signature-to-html.ts
@@ -98,7 +98,8 @@ export const declarationSignatureToHtml = async (
98
{
99
span(node) {
100
// Don't link from parameter names (e.g., don't link from `foo` in `foo: SomeType`).
101
- if (node.properties["style"] === "color:#E36209;--shiki-dark:#FFAB70") return;
+ const style = String(node.properties["style"]).toLowerCase();
102
+ if (style === "color:#e36209;--shiki-dark:#ffab70") return;
103
104
const firstChild = node.children[0];
105
if (firstChild?.type !== "text") return;
0 commit comments