From 3d085187dd1b2b54a821f1dbae9bd119c4b516f5 Mon Sep 17 00:00:00 2001 From: fangzhiyuan Date: Sat, 23 Aug 2025 11:31:27 +0800 Subject: [PATCH] =?UTF-8?q?$r=E5=8F=82=E6=95=B0=E7=B1=BB=E5=9E=8B=E6=95=B4?= =?UTF-8?q?=E6=94=B9=E4=B8=BARecordData?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: fangzhiyuan --- api/arkui/component/common.static.d.ets | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api/arkui/component/common.static.d.ets b/api/arkui/component/common.static.d.ets index bd3ecf4f8e..8036773a79 100644 --- a/api/arkui/component/common.static.d.ets +++ b/api/arkui/component/common.static.d.ets @@ -49,6 +49,7 @@ import { StyledString } from "./styledString"; import { CustomBuilder, WrappedBuilder, CustomBuilderT } from './builder'; import curves from '../../@ohos.curves'; import matrix4 from '../../@ohos.matrix4'; +import { RecordData } from '../../@ohos.base'; /** * Define the ratio of characters entered by the the percentage of InputCounterOptions. * @@ -381,12 +382,12 @@ export declare interface ExpectedFrameRateRange { * global $r function * * @param { string } value - * @param { (Object | null | undefined)[] } params + * @param { RecordData[] } params * @returns { Resource } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ -export declare function $r(value: string, ...params: (Object | null | undefined)[]): Resource; +export declare function $r(value: string, ...params: RecordData[]): Resource; /** * global $rawfile function * -- Gitee