diff --git a/api/@ohos.measure.static.d.ets b/api/@ohos.measure.static.d.ets index c583a9e1c6ed4eae82e3641db8a259d98afb2940..7429ab70cf49636bbb7871a09c03215ab49d1c0b 100644 --- a/api/@ohos.measure.static.d.ets +++ b/api/@ohos.measure.static.d.ets @@ -1,3 +1,4 @@ +'use static'; /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/@ohos.mediaquery.static.d.ets b/api/@ohos.mediaquery.static.d.ets index b4b05cfd13f7041cb6399aad42230416b2e47105..0c0285765d94a326861d00445d38ecb5cf770187 100644 --- a/api/@ohos.mediaquery.static.d.ets +++ b/api/@ohos.mediaquery.static.d.ets @@ -1,3 +1,4 @@ +'use static'; /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/@system.mediaquery.static.d.ets b/api/@system.mediaquery.static.d.ets index 2c4e84ba0aef725b462b8e820a8c303b5c92d9ea..80e1c43456e049b74ef28f5fa5530df151255573 100644 --- a/api/@system.mediaquery.static.d.ets +++ b/api/@system.mediaquery.static.d.ets @@ -1,3 +1,4 @@ +'use static'; /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/arkui/BlankModifier.static.d.ets b/api/arkui/BlankModifier.static.d.ets index fa314be21e75ae99be17cee71446700ac88702ef..3915913af68655d42bdb2afa5b2cce0f9167192c 100644 --- a/api/arkui/BlankModifier.static.d.ets +++ b/api/arkui/BlankModifier.static.d.ets @@ -1,3 +1,4 @@ +'use static' /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/arkui/ColumnModifier.static.d.ets b/api/arkui/ColumnModifier.static.d.ets index 6696c6b60ed5ff04627dd66a4fa4c9a38efb6db8..91dcf495f1826cd134fcbee4b7a902c6fd9ddba6 100644 --- a/api/arkui/ColumnModifier.static.d.ets +++ b/api/arkui/ColumnModifier.static.d.ets @@ -1,3 +1,4 @@ +'use static' /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/arkui/ColumnSplitModifier.static.d.ets b/api/arkui/ColumnSplitModifier.static.d.ets index a01bfd16fd44a9bf1a90ff39a0a1d6a735a31aac..c2a87ec032bb13d8929f57a4e007dafb1736b864 100644 --- a/api/arkui/ColumnSplitModifier.static.d.ets +++ b/api/arkui/ColumnSplitModifier.static.d.ets @@ -1,3 +1,4 @@ +'use static' /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/arkui/DividerModifier.static.d.ets b/api/arkui/DividerModifier.static.d.ets index fd7553abb8309b7d42085581a77732d055e3c455..1759f793f6d2ff56e507fef41c2d0b955901ad98 100644 --- a/api/arkui/DividerModifier.static.d.ets +++ b/api/arkui/DividerModifier.static.d.ets @@ -1,3 +1,4 @@ +'use static' /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/arkui/FlexModifier.static.d.ets b/api/arkui/FlexModifier.static.d.ets index de1351e56c28b7eeb87b56b5ae422bca408a636c..ab7d43d9a3a9b66f080657e544a5ecd73e5ce65a 100644 --- a/api/arkui/FlexModifier.static.d.ets +++ b/api/arkui/FlexModifier.static.d.ets @@ -1,3 +1,4 @@ +'use static' /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/arkui/FolderStackModifier.static.d.ets b/api/arkui/FolderStackModifier.static.d.ets index ce4f67a2af5a558e2145e83ec05c70756394ca2a..f72337848e7350c1076f6f5cf34a5d2d827ac8ae 100644 --- a/api/arkui/FolderStackModifier.static.d.ets +++ b/api/arkui/FolderStackModifier.static.d.ets @@ -1,3 +1,4 @@ +'use static' /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/arkui/GridColModifier.static.d.ets b/api/arkui/GridColModifier.static.d.ets index 9f65e3dcf9c28e63fb9d5378b11dfae22896d903..0231260e21817c26bc60e3a0f1fe20b7669e7cf0 100644 --- a/api/arkui/GridColModifier.static.d.ets +++ b/api/arkui/GridColModifier.static.d.ets @@ -1,3 +1,4 @@ +'use static' /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/arkui/GridRowModifier.static.d.ets b/api/arkui/GridRowModifier.static.d.ets index f312dc72aff60e5cbadd65d54d06a389237466b5..3cb7ed5ead0ebfd97f8a6fa1e77d9780d9967154 100644 --- a/api/arkui/GridRowModifier.static.d.ets +++ b/api/arkui/GridRowModifier.static.d.ets @@ -1,3 +1,4 @@ +'use static' /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/arkui/RelativeContainerModifier.static.d.ets b/api/arkui/RelativeContainerModifier.static.d.ets index 28c732e02f22e3c56fe384b792ecce1fb88d8038..c5388c3e9554ef6b8d906bc2d1541aa62881b6d6 100644 --- a/api/arkui/RelativeContainerModifier.static.d.ets +++ b/api/arkui/RelativeContainerModifier.static.d.ets @@ -1,3 +1,4 @@ +'use static' /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/arkui/RowModifier.static.d.ets b/api/arkui/RowModifier.static.d.ets index 3ad037bb9d82833611a5a3c206319a427398a227..68fe75a2e536d79877a352e7d8da32e3232e3f57 100644 --- a/api/arkui/RowModifier.static.d.ets +++ b/api/arkui/RowModifier.static.d.ets @@ -1,3 +1,4 @@ +'use static' /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/arkui/RowSplitModifier.static.d.ets b/api/arkui/RowSplitModifier.static.d.ets index e517b602f5aca7b5e8f053fd014f18b2a4b04ad2..fcdea6e030b1a0f6a132ad3bfefea361527920f8 100644 --- a/api/arkui/RowSplitModifier.static.d.ets +++ b/api/arkui/RowSplitModifier.static.d.ets @@ -1,3 +1,4 @@ +'use static' /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/arkui/StackModifier.static.d.ets b/api/arkui/StackModifier.static.d.ets index a12345a28f7c9466142f0f1ef0c6c1878c830d20..0fb585f872fc335f56bdc2df462dc57dfabc6ea2 100644 --- a/api/arkui/StackModifier.static.d.ets +++ b/api/arkui/StackModifier.static.d.ets @@ -1,3 +1,4 @@ +'use static' /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/api/arkui/component/blank.static.d.ets b/api/arkui/component/blank.static.d.ets index 94dea4901003ecfee2f47affac1580cebc3edb30..213e84045980b4c00961a8bd4ada5798177cafad 100644 --- a/api/arkui/component/blank.static.d.ets +++ b/api/arkui/component/blank.static.d.ets @@ -1,3 +1,4 @@ +'use static'; /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -34,7 +35,7 @@ export declare interface BlankAttribute extends CommonMethod { * Sets the color to fill the blank.
* Default value: **Color.Transparent**. * - * @param { ResourceColor } value + * @param { ResourceColor | undefined } value * @returns { BlankAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static diff --git a/api/arkui/component/column.static.d.ets b/api/arkui/component/column.static.d.ets index 43ff38beda7588af39432094c4026f541e6477a3..902a363c2648f523ca21c52dedbbb51827dbdf33 100644 --- a/api/arkui/component/column.static.d.ets +++ b/api/arkui/component/column.static.d.ets @@ -1,3 +1,4 @@ +'use static'; /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -76,7 +77,7 @@ export declare interface ColumnAttribute extends CommonMethod { /** * Sets the alignment format of the subassembly in the horizontal direction. * - * @param { HorizontalAlign } value + * @param { HorizontalAlign | undefined } value * @returns { ColumnAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -85,7 +86,7 @@ export declare interface ColumnAttribute extends CommonMethod { /** * Sets the alignment format of the subassembly in the vertical direction. * - * @param { FlexAlign } value + * @param { FlexAlign | undefined } value * @returns { ColumnAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -94,13 +95,13 @@ export declare interface ColumnAttribute extends CommonMethod { /** * Defines the PointLight * - * @param { PointLightStyle } value - The point light style. + * @param { PointLightStyle | undefined } value - The point light style. * @returns { ColumnAttribute } The attribute of the column. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since 20 static */ - default pointLight(value: PointLightStyle): ColumnAttribute; + default pointLight(value: PointLightStyle | undefined): this; /** * Called when the Main-Axis's direction is set reversed or not * diff --git a/api/arkui/component/columnSplit.static.d.ets b/api/arkui/component/columnSplit.static.d.ets index 0d01fe1023b3b4f4b8dd2f0a20863f6cc16c9077..aacf5f02e7f665c307af959ccf3cc21b09fec0af 100644 --- a/api/arkui/component/columnSplit.static.d.ets +++ b/api/arkui/component/columnSplit.static.d.ets @@ -1,3 +1,4 @@ +'use static'; /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -60,7 +61,7 @@ export declare interface ColumnSplitAttribute extends CommonMethod { /** * Indicates whether the split line can be dragged. The default value is false. * - * @param { boolean } value + * @param { boolean | undefined } value * @returns { ColumnSplitAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -68,7 +69,7 @@ export declare interface ColumnSplitAttribute extends CommonMethod { default resizeable(value: boolean | undefined): this; /** * Called when the ColumnSplit split line style is set. - * @param { ColumnSplitDividerStyle | null } value - indicates the style of the indicator. + * @param { ColumnSplitDividerStyle | null | undefined } value - indicates the style of the indicator. * if value is set to null, the value of startMargin and endMargin is set to 0.0 by default. * @returns { ColumnSplitAttribute } the attribute of the ColumnSplit * @syscap SystemCapability.ArkUI.ArkUI.Full diff --git a/api/arkui/component/divider.static.d.ets b/api/arkui/component/divider.static.d.ets index 38df29434f17cc2e0b4199ce38b1a20d0b88d8d4..5a9a6f76a06ecee642116a715152761167448819 100644 --- a/api/arkui/component/divider.static.d.ets +++ b/api/arkui/component/divider.static.d.ets @@ -1,3 +1,4 @@ +'use static'; /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -35,7 +36,7 @@ export declare interface DividerAttribute extends CommonMethod { * Indicates whether to use a horizontal splitter or a vertical splitter. * The options are as follows: false: horizontal splitter; true: vertical splitter. * - * @param { boolean } value + * @param { boolean | undefined } value * @returns { DividerAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -44,7 +45,7 @@ export declare interface DividerAttribute extends CommonMethod { /** * Sets the color of the divider line. * - * @param { ResourceColor } value + * @param { ResourceColor | undefined } value * @returns { DividerAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -53,7 +54,7 @@ export declare interface DividerAttribute extends CommonMethod { /** * Sets the width of the dividing line. * - * @param { number | string } value + * @param { number | string | undefined } value * @returns { DividerAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -62,7 +63,7 @@ export declare interface DividerAttribute extends CommonMethod { /** * Sets the end style of the split line. The default value is Butt. * - * @param { LineCapStyle } value + * @param { LineCapStyle | undefined } value * @returns { DividerAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static diff --git a/api/arkui/component/flex.static.d.ets b/api/arkui/component/flex.static.d.ets index e09b1107592a618331375f9f4cdcf4e052b4eaa3..8c2513e006883f31f17fe85fa618716759fd5cc9 100644 --- a/api/arkui/component/flex.static.d.ets +++ b/api/arkui/component/flex.static.d.ets @@ -1,3 +1,4 @@ +'use static'; /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -123,13 +124,13 @@ export declare interface FlexAttribute extends CommonMethod { /** * Defines the PointLight * - * @param { PointLightStyle } value - The point light style. + * @param { PointLightStyle | undefined } value - The point light style. * @returns { FlexAttribute } The attribute of the flex. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since 20 static */ - default pointLight(value: PointLightStyle): FlexAttribute; + default pointLight(value: PointLightStyle | undefined): this; /** * Set the attribute modifier * diff --git a/api/arkui/component/folderStack.static.d.ets b/api/arkui/component/folderStack.static.d.ets index 9486cd21d92cbab02f68208c5a39cd19d11d7ef8..40d68598e1ff031623c3f13e016603ce0dc28099 100644 --- a/api/arkui/component/folderStack.static.d.ets +++ b/api/arkui/component/folderStack.static.d.ets @@ -1,3 +1,4 @@ +'use static'; /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -98,7 +99,7 @@ export declare interface FolderStackAttribute extends CommonMethod { /** * Set the alignment of folderStack. * - * @param { Alignment } value - align of children + * @param { Alignment | undefined } value - align of children * @returns { FolderStackAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -108,7 +109,7 @@ export declare interface FolderStackAttribute extends CommonMethod { * Callback folderState when the folderState changes * * Anonymous Object Rectification - * @param { OnFoldStatusChangeCallback } callback - executed when folderStatus changed + * @param { OnFoldStatusChangeCallback | undefined } callback - executed when folderStatus changed * @returns { FolderStackAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -118,7 +119,7 @@ export declare interface FolderStackAttribute extends CommonMethod { * Callback hoverStatus|folderStatus|rotation|windowMode when the hoverStatus changes * * Anonymous Object Rectification - * @param { OnHoverStatusChangeCallback } handler - executed when hoverStatus changed + * @param { OnHoverStatusChangeCallback | undefined } handler - executed when hoverStatus changed * @returns { FolderStackAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -127,7 +128,7 @@ export declare interface FolderStackAttribute extends CommonMethod { /** * Enable the animation of folderStack. * - * @param { boolean } value - enable the animation of folderStatus changed + * @param { boolean | undefined } value - enable the animation of folderStatus changed * @returns { FolderStackAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -136,7 +137,7 @@ export declare interface FolderStackAttribute extends CommonMethod { /** * Enable auto halfFolder when orientation. * - * @param { boolean } value - enable auto halfFold + * @param { boolean | undefined } value - enable auto halfFold * @returns { FolderStackAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static diff --git a/api/arkui/component/gridCol.static.d.ets b/api/arkui/component/gridCol.static.d.ets index 968403ca50bda10947d616cd0a05c2265e1bc7dc..1671ea13cca7594c22169875bbe8d9a232ef67b7 100644 --- a/api/arkui/component/gridCol.static.d.ets +++ b/api/arkui/component/gridCol.static.d.ets @@ -1,3 +1,4 @@ +'use static'; /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -122,7 +123,7 @@ export declare interface GridColAttribute extends CommonMethod { /** * Sets the span of current gird-container item. * - * @param { number | GridColColumnOption } value + * @param { number | GridColColumnOption | undefined } value * @returns { GridColAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -131,7 +132,7 @@ export declare interface GridColAttribute extends CommonMethod { /** * Sets the offset of current gird-container item. * - * @param { number | GridColColumnOption } value + * @param { number | GridColColumnOption | undefined } value * @returns { GridColAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -140,7 +141,7 @@ export declare interface GridColAttribute extends CommonMethod { /** * Sets the order of current gird-container item. * - * @param { number | GridColColumnOption } value + * @param { number | GridColColumnOption | undefined } value * @returns { GridColAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static diff --git a/api/arkui/component/gridRow.static.d.ets b/api/arkui/component/gridRow.static.d.ets index b9f8f54b507693979f90a19917d1d6b715bf3f38..9c54aa429f9f39f857366d56cdb7d60efdaf9fda 100644 --- a/api/arkui/component/gridRow.static.d.ets +++ b/api/arkui/component/gridRow.static.d.ets @@ -1,3 +1,4 @@ +'use static'; /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -285,7 +286,7 @@ export declare interface GridRowAttribute extends CommonMethod { /** * Callback triggered when the breakpoint changes, breakpoints value can be xs, sm, md, lg, xl, xxl * - * @param { function } callback + * @param { function | undefined } callback * @returns { GridRowAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -294,7 +295,7 @@ export declare interface GridRowAttribute extends CommonMethod { /** * Cross axis alignment of each line in GridRow. * - * @param { ItemAlign } value - element alignment + * @param { ItemAlign | undefined } value - element alignment * @returns { GridRowAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static diff --git a/api/arkui/component/relativeContainer.static.d.ets b/api/arkui/component/relativeContainer.static.d.ets index 1d14d907ffc80f91434d79b87e37a5adf3bcfed9..5ab835824dac5917a63902fc79b41545be5049a7 100644 --- a/api/arkui/component/relativeContainer.static.d.ets +++ b/api/arkui/component/relativeContainer.static.d.ets @@ -232,7 +232,7 @@ export declare interface RelativeContainerAttribute extends CommonMethod { /** * Specifies guideLines of relativeContainer * - * @param { Array } value + * @param { Array | undefined } value * @returns { RelativeContainerAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -241,7 +241,7 @@ export declare interface RelativeContainerAttribute extends CommonMethod { /** * Specifies barriers of relativeContainer * - * @param { Array } value + * @param { Array | undefined } value * @returns { RelativeContainerAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -250,7 +250,7 @@ export declare interface RelativeContainerAttribute extends CommonMethod { /** * Specifies barriers of relativeContainer * - * @param { Array } barrierStyle + * @param { Array | undefined } barrierStyle * @returns { RelativeContainerAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static diff --git a/api/arkui/component/row.static.d.ets b/api/arkui/component/row.static.d.ets index 7855b8c2a3f890e121b2f3e637ca699c72700c66..0696a6e78407693881660a4120a8d7bf584aeb11 100644 --- a/api/arkui/component/row.static.d.ets +++ b/api/arkui/component/row.static.d.ets @@ -1,3 +1,4 @@ +'use static'; /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -69,7 +70,7 @@ export declare interface RowAttribute extends CommonMethod { /** * Called when the vertical alignment is set. * - * @param { VerticalAlign } value + * @param { VerticalAlign | undefined } value * @returns { RowAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -78,7 +79,7 @@ export declare interface RowAttribute extends CommonMethod { /** * Called when the horizontal alignment is set. * - * @param { FlexAlign } value + * @param { FlexAlign | undefined } value * @returns { RowAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -87,13 +88,13 @@ export declare interface RowAttribute extends CommonMethod { /** * Defines the PointLight * - * @param { PointLightStyle } value - The point light style. + * @param { PointLightStyle | undefined } value - The point light style. * @returns { RowAttribute } The attribute of the row. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since 20 static */ - default pointLight(value: PointLightStyle): RowAttribute; + default pointLight(value: PointLightStyle | undefined): this; /** * Called when the Main-Axis's direction is set reversed or not * diff --git a/api/arkui/component/rowSplit.static.d.ets b/api/arkui/component/rowSplit.static.d.ets index 49bfe34ee23608d1876ba5d668dcf4b5a54a0e49..b938992219b40943fd8f43c8f097222093c653aa 100644 --- a/api/arkui/component/rowSplit.static.d.ets +++ b/api/arkui/component/rowSplit.static.d.ets @@ -1,3 +1,4 @@ +'use static'; /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -33,7 +34,7 @@ export declare interface RowSplitAttribute extends CommonMethod { * Called when judging whether the split line can be dragged. * * @param { boolean } value - * @returns { RowSplitAttribute } + * @returns { RowSplitAttribute | undefined } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static */ diff --git a/api/arkui/component/stack.static.d.ets b/api/arkui/component/stack.static.d.ets index 8730d7658b0c8b92590342724125446553b2be80..52594bba85c9babdaa7ecc7af068b9153c6dbb9b 100644 --- a/api/arkui/component/stack.static.d.ets +++ b/api/arkui/component/stack.static.d.ets @@ -1,3 +1,4 @@ +'use static'; /* * Copyright (c) 2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -52,7 +53,7 @@ export declare interface StackAttribute extends CommonMethod { /** * Called when the alignment of items in the container is set. * - * @param { Alignment } value + * @param { Alignment | undefined } value * @returns { StackAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 static @@ -61,13 +62,13 @@ export declare interface StackAttribute extends CommonMethod { /** * Sets the point light style. * - * @param { PointLightStyle } value - The point light style. + * @param { PointLightStyle | undefined } value - The point light style. * @returns { StackAttribute } The attribute of the stack. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since 20 static */ - default pointLight(value: PointLightStyle): StackAttribute; + default pointLight(value: PointLightStyle | undefined): this; /** * Set the attribute modifier *