Skip to content

Fix TS in editors demos. part 1/2 - #36532

Open
GoodDayForSurf wants to merge 7 commits into
DevExpress:mainfrom
GoodDayForSurf:main_ts_angular_demos_editors_p1
Open

GoodDayForSurf wants to merge 7 commits into
DevExpress:mainfrom
GoodDayForSurf:main_ts_angular_demos_editors_p1

Conversation

@GoodDayForSurf

Copy link
Copy Markdown
Contributor

No description provided.

@GoodDayForSurf GoodDayForSurf self-assigned this Nov 24, 2026
@GoodDayForSurf GoodDayForSurf changed the title Fix TS in editors demos. part 1 Fix TS in editors demos. part 1/2 Nov 24, 2026
@GoodDayForSurf
GoodDayForSurf marked this pull request as ready for review November 24, 2026 13:51
@GoodDayForSurf
GoodDayForSurf requested review from a team as code owners November 24, 2026 13:51
Copilot AI balanced review requested due to automatic review settings November 24, 2026 13:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the Angular strict TypeScript and CI-check changes.

No open issues 🎉

What changed in this PR

This PR prepares the first group of DevExtreme Angular editor and related demos for strict TypeScript checking and enables that check in CI.

Changes:

  • Enable strict mode and bundler module resolution, limiting Angular checks to the selected demo groups.
  • Add explicit event and data types, replace data-only classes with interfaces, and handle nullable values.
  • Correct template bindings, callback arguments, and asynchronous store return values.
File Description
apps/​demos/​tsconfig.ngc-check.json Enable strict checking and bundler resolution for selected demos.
apps/​demos/​Demos/​DropDownButton/​Overview/​Angular/​app/​app.service.ts Include null in the color return type.
apps/​demos/​Demos/​DropDownButton/​Overview/​Angular/​app/​app.component.ts Handle nullable colors and optional component references.
apps/​demos/​Demos/​DropDownBox/​SingleSelection/​Angular/​app/​app.component.ts Type display-expression input and return an empty-string fallback.
apps/​demos/​Demos/​DropDownBox/​SingleSelection/​Angular/​app/​app.component.html Use a boolean binding for grid borders.
apps/​demos/​Demos/​DropDownBox/​MultipleSelection/​Angular/​app/​app.component.ts Allow an undefined tree-view instance.
apps/​demos/​Demos/​DateRangeBox/​Overview/​Angular/​app/​app.component.ts Type date ranges and events; calculate differences using timestamps.
apps/​demos/​Demos/​Common/​PopupAndNotificationsOverview/​Angular/​app/​app.service.ts Convert agent and house models to interfaces.
apps/​demos/​Demos/​Common/​PopupAndNotificationsOverview/​Angular/​app/​app.component.html Remove an unused event argument.
apps/​demos/​Demos/​Common/​NavigationRightToLeftSupport/​Angular/​app/​app.service.ts Convert navigation data models to interfaces.
apps/​demos/​Demos/​Common/​NavigationRightToLeftSupport/​Angular/​app/​app.component.ts Type the language-selection event.
apps/​demos/​Demos/​Common/​NavigationOverview/​Angular/​app/​app.service.ts Convert geographic data models to interfaces.
apps/​demos/​Demos/​Common/​NavigationOverview/​Angular/​app/​app.component.ts Type the tree-view selection event.
apps/​demos/​Demos/​Common/​ListsOverview/​Angular/​app/​app.service.ts Convert the hotel model to an interface.
apps/​demos/​Demos/​Common/​ListsOverview/​Angular/​app/​app.component.ts Type the list-selection event.
apps/​demos/​Demos/​Common/​FormsOverview/​Angular/​app/​app.service.ts Convert the employee model to an interface.
apps/​demos/​Demos/​Common/​EditorsRightToLeftSupport/​Angular/​app/​app.service.ts Convert the country model to an interface.
apps/​demos/​Demos/​Common/​EditorsRightToLeftSupport/​Angular/​app/​app.component.ts Type the language-change event.
apps/​demos/​Demos/​Common/​EditorAppearanceVariants/​Angular/​app/​app.component.ts Type the validation button’s click event.
apps/​demos/​Demos/​Chat/​ToolCallVisualization/​Angular/​app/​app.component.ts Type optional events and focus targets.
apps/​demos/​Demos/​Chat/​PromptSuggestions/​Angular/​app/​app.component.ts Require suggestion configuration and type focus targets.
apps/​demos/​Demos/​Chat/​PromptSuggestions/​Angular/​app/​ai/​ai.service.ts Default missing response content to an empty string.
apps/​demos/​Demos/​Chat/​PageLevelAIAssistant/​Angular/​app/​data.ts Require form configuration fields and specify text-box editors.
apps/​demos/​Demos/​Chat/​PageLevelAIAssistant/​Angular/​app/​components/​employee-form/​employee-form.component.html Use supported toast alignment values.
apps/​demos/​Demos/​Chat/​MessageEditing/​Angular/​app/​app.service.ts Return a promise from the store insert callback.
apps/​demos/​Demos/​Chat/​FileAttachments/​Angular/​app/​app.service.ts Return a promise from the store insert callback.
apps/​demos/​Demos/​Chat/​AIAndChatbotIntegration/​Angular/​app/​app.service.ts Guard last-message access and remove an unused event argument.
apps/​demos/​Demos/​Chat/​AIAndChatbotIntegration/​Angular/​app/​app.component.ts Type optional events and focus targets.
apps/​demos/​Demos/​Chat/​AIAndChatbotIntegration/​Angular/​app/​ai/​ai.service.ts Default missing response content to an empty string.
apps/​demos/​Demos/​Calendar/​Overview/​Angular/​app/​app.component.ts Type checkbox events and calendar-cell data.
apps/​demos/​Demos/​Calendar/​MultipleSelection/​Angular/​app/​app.component.ts Specify disabled-date callback and checkbox event types.
apps/​demos/​Demos/​Autocomplete/​Overview/​Angular/​app/​app.service.ts Convert the autocomplete data model to an interface.
apps/​demos/​Demos/​Autocomplete/​Overview/​Angular/​app/​app.component.ts Narrow load-option keys and type the HTTP response.
.github/​workflows/​visual-tests-demos.yml Enable the Angular TypeScript check in CI.

Review effort: Balanced

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants