diff --git a/api/@internal/component/ets/text_area.d.ts b/api/@internal/component/ets/text_area.d.ts index 90fefc9c455cec56d33fbc3dd410d2e399c6a06e..36419c03c0b4f069a77a5cbd9f9cf733ddb847ba 100644 --- a/api/@internal/component/ets/text_area.d.ts +++ b/api/@internal/component/ets/text_area.d.ts @@ -1505,14 +1505,14 @@ declare class TextAreaAttribute extends CommonMethod { * Define max lines of the text area, behavior can be displayed as the scrolling capability. * * @param { number } lines - Max lines of the node - * @param { MaxLinesOptions } options - max lines of setting options. + * @param { MaxLinesOptions } [options] - max lines of setting options. * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ - maxLines(lines: number, options: MaxLinesOptions): TextAreaAttribute; + maxLines(lines: number, options?: MaxLinesOptions): TextAreaAttribute; /** * Define min lines of the text area.