-
Notifications
You must be signed in to change notification settings - Fork 663
TimeView: Improve types #32093
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TimeView: Improve types #32093
Conversation
1bebed9 to
6d4e7c1
Compare
There was a problem hiding this 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 enhances TypeScript type safety in the TimeView component by adding explicit type annotations to functions, parameters, callbacks, and class members. The changes focus on improving type definitions without altering functionality.
Key changes:
- Converted function declarations to arrow functions with explicit type signatures
- Added type annotations to method parameters and return types
- Improved interface definitions with proper use of
Omitutility type - Enhanced callback type safety with explicit parameter types
Co-authored-by: Copilot <[email protected]> Signed-off-by: Ruslan Farkhutdinov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 5 comments.
Signed-off-by: Ruslan Farkhutdinov <[email protected]> Co-authored-by: Ruslan Farkhutdinov <[email protected]> Co-authored-by: Copilot <[email protected]>
Signed-off-by: Ruslan Farkhutdinov <[email protected]> Co-authored-by: Ruslan Farkhutdinov <[email protected]> Co-authored-by: Copilot <[email protected]>
No description provided.