Skip to content

Commit 3e0aad1

Browse files
committed
fix jsDoc
1 parent e2b1573 commit 3e0aad1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/main/src/ListItemCustom.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class ListItemCustom extends ListItem {
126126

127127
/**
128128
* Returns the invisible text span element used for accessibility announcements
129-
* @returns The invisible text span element or null if not found
129+
* @returns {HTMLElement | null} The HTMLElement representing the invisible text span used for accessibility announcements, or null if the element is not found in the shadow DOM
130130
* @private
131131
*/
132132
private get _invisibleTextSpan(): HTMLElement | null {
@@ -220,7 +220,7 @@ class ListItemCustom extends ListItem {
220220
* UI5 elements provide accessibilityInfo with description and children.
221221
* For elements without accessibilityInfo, we fall back to extracting text content.
222222
*
223-
* @param {Node | null} node The node to extract text from
223+
* @param {Node | null} nodeArg The node to extract text from
224224
* @returns {string} The extracted text
225225
* @private
226226
*/

0 commit comments

Comments
 (0)