Skip to content

Conversation

@r-farkhutdinov
Copy link
Contributor

No description provided.

@r-farkhutdinov r-farkhutdinov self-assigned this Jan 7, 2026
@r-farkhutdinov r-farkhutdinov marked this pull request as ready for review January 9, 2026 16:02
@r-farkhutdinov r-farkhutdinov requested a review from a team as a code owner January 9, 2026 16:02
Copilot AI review requested due to automatic review settings January 9, 2026 16:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves TypeScript types in the DateView component by adding explicit type annotations, removing unnecessary ts-expect-error suppressions, and modernizing code patterns. The changes enhance type safety and code maintainability.

Key changes:

  • Added type imports (Device, DefaultOptionsRule) and created a new RollerConfig interface to replace implicit typing
  • Replaced legacy each() iterator with modern forEach() and converted function expressions to arrow functions for better this binding
  • Added comprehensive type annotations to method parameters and return types throughout the class

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Ruslan Farkhutdinov <fr3ddy4@yandex.ru>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant