Skip to content

Conversation

@mpreyskurantov
Copy link
Contributor

No description provided.

@mpreyskurantov mpreyskurantov self-assigned this Jan 9, 2026
@mpreyskurantov mpreyskurantov added the WIP Work in progress label Jan 9, 2026
@mpreyskurantov mpreyskurantov requested a review from a team as a code owner January 9, 2026 17:04
Copilot AI review requested due to automatic review settings January 9, 2026 17:04
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 publishes the ValidationCallbackData type as a public, documented type with generic support. The key changes include adding JSDoc documentation to all properties of ValidationCallbackData, making it generic with a TValue type parameter, and updating both AsyncRule and CustomRule types to accept the generic type parameter. The Angular wrapper files have been updated to use the new ValidationCallbackData type instead of inline type definitions.

Key Changes

  • ValidationCallbackData type is now public with full JSDoc documentation and generic type support
  • AsyncRule and CustomRule types now accept a generic TValue parameter for type-safe value validation
  • Angular wrapper components updated to import and use ValidationCallbackData type

Reviewed changes

Copilot reviewed 18 out of 20 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/devextreme/ts/dx.all.d.ts Added generics to AsyncRule and CustomRule types, added JSDoc documentation to ValidationCallbackData
packages/devextreme/js/common.d.ts Added generics to AsyncRule and CustomRule types, added JSDoc documentation to ValidationCallbackData, removed inline parameter documentation
packages/devextreme-angular/src/ui/validator/nested/*.ts Updated validationCallback signature to use ValidationCallbackData type
packages/devextreme-angular/src/ui/tree-list/nested/*.ts Updated validationCallback signature to use ValidationCallbackData type
packages/devextreme-angular/src/ui/scheduler/nested/*.ts Updated validationCallback signature to use ValidationCallbackData type
packages/devextreme-angular/src/ui/form/nested/*.ts Updated validationCallback signature to use ValidationCallbackData type
packages/devextreme-angular/src/ui/data-grid/nested/*.ts Updated validationCallback signature to use ValidationCallbackData type
packages/devextreme-angular/src/ui/card-view/nested/*.ts Updated validationCallback signature to use ValidationCallbackData type

Copilot AI review requested due to automatic review settings January 9, 2026 17:44
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

Copilot reviewed 30 out of 32 changed files in this pull request and generated no new comments.

@mpreyskurantov mpreyskurantov requested a review from a team as a code owner January 11, 2026 17:07
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.

1 participant