There was an error while loading. Please reload this page.
1 parent e6bcc79 commit 871f2a6Copy full SHA for 871f2a6
1 file changed
api-extractor/src/TypeScriptHelpers.ts
@@ -69,6 +69,8 @@ export default class TypeScriptHelpers {
69
const jsDocFullText: string = nodeJsDocObjects[lastJsDocIndex].getText();
70
const jsDocLines: string[] = jsDocFullText.split(TypeScriptHelpers.newLineRegEx);
71
const jsDocStartSeqExists: boolean = TypeScriptHelpers.jsDocStartRegEx.test(jsDocLines[0].toString());
72
+
73
+ // Report error for each missing sequence seperately
74
if (!jsDocStartSeqExists) {
75
errorLogger('JsDoc comment must begin with a \"/**\" sequence.');
76
return '';
0 commit comments