From 16a30cf024c2d61fdc7dfae2b0d5991d7782bbba 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 2568137b69..05f6a3e6fb 100644 --- a/api/arkui/component/common.static.d.ets +++ b/api/arkui/component/common.static.d.ets @@ -48,6 +48,7 @@ import { TextRange } from "./textCommon"; import { StyledString } from "./styledString"; import { CustomBuilder, WrappedBuilder, CustomBuilderT } from './builder'; import curves from '../../@ohos.curves'; +import { RecordData } from '../../@ohos.base'; /** * Define the ratio of characters entered by the the percentage of InputCounterOptions. * @@ -380,12 +381,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