From d93c742de1f20cc0c39dd76343e82aba9a1bf761 Mon Sep 17 00:00:00 2001 From: buzhenwang Date: Mon, 1 Sep 2025 14:00:59 +0800 Subject: [PATCH] Change RecordData from definition to import Signed-off-by: buzhenwang --- api/@ohos.hilog.d.ts | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/api/@ohos.hilog.d.ts b/api/@ohos.hilog.d.ts index 6f94ea48ed..875d7fd745 100644 --- a/api/@ohos.hilog.d.ts +++ b/api/@ohos.hilog.d.ts @@ -18,6 +18,10 @@ * @kit PerformanceAnalysisKit */ +/*** if arkts 1.2 */ +import { RecordData } from '@ohos.base'; +/*** endif */ + /** * Provides interfaces to generate system logs. * @@ -45,18 +49,6 @@ */ declare namespace hilog { - /** - * Using RecordData Replace any, unknown, ESObject. - * - * @typedef { undefined | null | Object | Record | Array } - * @syscap SystemCapability.HiviewDFX.HiLog - * @crossplatform - * @atomicservice - * @since 20 - * @arkts 1.2 - */ - type RecordData = undefined | null | Object | Record | Array; - /** * Outputs debug-level logs. * -- Gitee