!947 interface d.ts reconstruction

Merge pull request !947 from yfwang6/colldts
This commit is contained in:
openharmony_ci
2022-08-25 02:29:38 +00:00
committed by Gitee
+1 -1
View File
@@ -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)) {