From b0838364c1da9c742de565184676023abbbd51ae Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Mon, 23 Oct 2023 14:33:27 +0200 Subject: infra(unicorn): prefer-native-coercion-functions (#2445) --- scripts/apidoc/typedoc.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/apidoc/typedoc.ts b/scripts/apidoc/typedoc.ts index 4a39bd33..9fa1fdad 100644 --- a/scripts/apidoc/typedoc.ts +++ b/scripts/apidoc/typedoc.ts @@ -281,12 +281,12 @@ export function extractSeeAlsos(reflection?: CommentHolder): string[] { .map((link) => { link = link.trim(); if (link.startsWith('-')) { - link = link.slice(1).trim(); + link = link.slice(1).trimStart(); } return link; }) - .filter((link) => link) + .filter((link) => link.length > 0) ); } -- cgit v1.2.3