diff --git a/build-tools/handleApiFiles.js b/build-tools/handleApiFiles.js index 31999c93ad5b476b2304d05f27ff97fbf72095fb..dfd510c0ce243d9aa1874b83d3c492b089c409ec 100755 --- a/build-tools/handleApiFiles.js +++ b/build-tools/handleApiFiles.js @@ -582,7 +582,7 @@ const transformer = (context) => { }; function validateExportDeclaration(node) { - return ts.isExportDeclaration(node) && node.moduleSpecifier && node.jsDoc && node.jsDoc.length !== 0; + return ts.isExportDeclaration(node) && node.jsDoc && node.jsDoc.length !== 0; } /**