From 91f781dc01df7bdb592567e12bcf477bdd2661c7 Mon Sep 17 00:00:00 2001 From: jackd320 Date: Mon, 25 Jul 2022 11:50:02 +0000 Subject: [PATCH] Signed-off-by: jackd320 --- runtime/main/extend/systemplugin/napi/ohos_update.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/runtime/main/extend/systemplugin/napi/ohos_update.js b/runtime/main/extend/systemplugin/napi/ohos_update.js index 965f71f8..6a7f1086 100644 --- a/runtime/main/extend/systemplugin/napi/ohos_update.js +++ b/runtime/main/extend/systemplugin/napi/ohos_update.js @@ -280,8 +280,6 @@ export function mockUpdate() { EventClassifyInfo, UpgradeFile, DescriptionOptions, - ComponentDescription, - DescriptionFormat, getOnlineUpdater: function (...args) { console.warn("update.getOnlineUpdater interface mocked in the Previewer. How this interface works on the" + " Previewer may be different from that on a real device.")