Skip to content

Conversation

web-padawan
Copy link
Member

Description

Fixed some issues found by trying eslint-plugin-jsdoc like incorrect / missing @param annotations etc.

Type of change

  • Internal change

@web-padawan web-padawan requested a review from vursen August 18, 2025 06:46
Copy link

@@ -16,14 +16,14 @@ export const ItemsMixin = (superClass) =>
* @typedef ContextMenuItem
* @type {object}
* @property {string} text - Text to be set as the menu item component's textContent
* @property {union: string | object} component - The component to represent the item.
* @property {string | HTMLElement} component - The component to represent the item.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The union: syntax was not recognized by TypeScript, changing to string | HTMLElement makes it work.

@@ -16,7 +16,6 @@ import { datePickerYearStyles } from './styles/vaadin-date-picker-year-base-styl
* @customElement
* @extends HTMLElement
* @mixes ThemableMixin
* @mixes DatePickerYearMixin
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot to remove this when inlining the mixin in #9430.

@web-padawan web-padawan merged commit 7ff89e2 into main Aug 18, 2025
9 checks passed
@web-padawan web-padawan deleted the chore/eslint-jsdoc-fixes branch August 18, 2025 07:05
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 25.0.0-alpha7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants