From 80b1375362d3e07090b1c26bb99393783887648a Mon Sep 17 00:00:00 2001 From: laibo Date: Mon, 17 Jan 2022 16:22:16 +0800 Subject: [PATCH 1/2] bugfix: common.d.ts --- api/@internal/component/ets/common.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 875e800ff3..758644f083 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -1297,13 +1297,13 @@ declare class CommonMethod { * When the parameter is of the boolean type, this parameter specifies whether to crop based on the edge contour. * @since 7 */ - clip(value: boolean | CircleInterface | EllipseInterface | PathInterface | RectInterface): T; + clip(value: boolean | CircleAttribute | EllipseAttribute | PathAttribute | RectAttribute): T; /** * Applies a mask of the specified shape to the current assembly. * @since 7 */ - mask(value: CircleInterface | EllipseInterface | PathInterface | RectInterface): T; + mask(value: CircleAttribute | EllipseAttribute | PathAttribute | RectAttribute): T; /** * Key. User can set an key to the component to identify it. -- Gitee From 5f02246a8db3f695047a12bb0296cb08cd8143ff Mon Sep 17 00:00:00 2001 From: laibo Date: Mon, 17 Jan 2022 16:22:16 +0800 Subject: [PATCH 2/2] bugfix: common.d.ts Signed-off-by: laibo --- api/@internal/component/ets/common.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 875e800ff3..758644f083 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -1297,13 +1297,13 @@ declare class CommonMethod { * When the parameter is of the boolean type, this parameter specifies whether to crop based on the edge contour. * @since 7 */ - clip(value: boolean | CircleInterface | EllipseInterface | PathInterface | RectInterface): T; + clip(value: boolean | CircleAttribute | EllipseAttribute | PathAttribute | RectAttribute): T; /** * Applies a mask of the specified shape to the current assembly. * @since 7 */ - mask(value: CircleInterface | EllipseInterface | PathInterface | RectInterface): T; + mask(value: CircleAttribute | EllipseAttribute | PathAttribute | RectAttribute): T; /** * Key. User can set an key to the component to identify it. -- Gitee