diff options
| author | ST-DDT <[email protected]> | 2023-10-23 14:33:27 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-23 12:33:27 +0000 |
| commit | b0838364c1da9c742de565184676023abbbd51ae (patch) | |
| tree | bb25a7d252c18f5b2a3ace6bddf7fc661a8c65c7 /scripts | |
| parent | c59188099d2fa0da297023c38a1e104627cdbae7 (diff) | |
| download | faker-b0838364c1da9c742de565184676023abbbd51ae.tar.xz faker-b0838364c1da9c742de565184676023abbbd51ae.zip | |
infra(unicorn): prefer-native-coercion-functions (#2445)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/apidoc/typedoc.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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) ); } |
