From 1e561549de139beaa395b86c123d0b6ce501aea0 Mon Sep 17 00:00:00 2001 From: yfwang6 Date: Wed, 17 Aug 2022 17:13:07 +0800 Subject: [PATCH] wangyongfei6@huawei.com interface d.ts reconstruction Signed-off-by: yfwang6 Change-Id: Id2c16a2ca831fd30c522013f30dd38f214d56790 --- compiler/build_declarations_file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/build_declarations_file.js b/compiler/build_declarations_file.js index d983d7f..2f22203 100644 --- a/compiler/build_declarations_file.js +++ b/compiler/build_declarations_file.js @@ -33,7 +33,7 @@ const addTSAttributeSet = ['AlphabetIndexer', 'Animator', 'Badge', 'Blank', 'But generateTargetFile(process.argv[2], process.argv[3]); function generateTargetFile(filePath, output) { const files = []; - const globalTsFile = path.resolve(filePath, '../../global.d.ts'); + const globalTsFile = path.resolve(filePath, '../../ets/global.d.ts'); const featureAbilityPath = path.resolve(filePath, '../../../common/full/featureability.d.ts'); const middleTsFile = path.resolve(filePath, 'middle_class.d.ts'); if (fs.existsSync(globalTsFile)) {