Skip to content

Commit 3ad8108

Browse files
committed
Prevent NRE and properly annotate verify signature in tsd-jsdoc, fixed #572
1 parent 4bd9bd7 commit 3ad8108

File tree

18 files changed

+1462
-271
lines changed

18 files changed

+1462
-271
lines changed

cli/targets/static.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ function buildType(ref, type) {
348348
push("");
349349
pushComment([
350350
"Verifies a " + type.name + ".",
351+
"@function",
351352
"@param {" + fullName + "|Object} message " + type.name + " or plain object to verify",
352353
"@returns {?string} `null` if valid, otherwise the reason why it is not"
353354
]);

0 commit comments

Comments
 (0)