From 6a7dae2f5f7907664659947f97cb790a635b71ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=9B=B9=E5=AE=87?= Date: Thu, 7 Aug 2025 15:44:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86export{}=E8=8A=82=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 王曹宇 --- build-tools/handleApiFiles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-tools/handleApiFiles.js b/build-tools/handleApiFiles.js index 31999c93ad..dfd510c0ce 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; } /** -- Gitee