diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 875e800ff3a9dd6afb835188174dbd816d6f339a..758644f083f8442e1c11c809882a9f8522e6e792 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.