diff options
| author | Shinigami <[email protected]> | 2023-03-30 17:02:32 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-30 17:02:32 +0200 |
| commit | 063ba6e264ec44f797531c7612b814bd331c5f59 (patch) | |
| tree | fb104a3a5587e5802d72a5fe3393f840fee6f7c7 /scripts | |
| parent | 3562e872530b3610d95be71aa6f4f7fdfef7134f (diff) | |
| download | faker-063ba6e264ec44f797531c7612b814bd331c5f59.tar.xz faker-063ba6e264ec44f797531c7612b814bd331c5f59.zip | |
test: separate jsdoc tag tests (#1969)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/apidoc/signature.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/apidoc/signature.ts b/scripts/apidoc/signature.ts index b3bd4523..f9364a04 100644 --- a/scripts/apidoc/signature.ts +++ b/scripts/apidoc/signature.ts @@ -40,8 +40,10 @@ function prettifyMethodName(method: string): string { ); } +export const MISSING_DESCRIPTION = 'Missing'; + export function toBlock(comment?: Comment): string { - return joinTagParts(comment?.summary) || 'Missing'; + return joinTagParts(comment?.summary) || MISSING_DESCRIPTION; } export function stripAbsoluteFakerUrls(markdown: string): string { |
