Repository navigation
Fix TS in editors demos. part 1/2 - #36532
Open
GoodDayForSurf wants to merge 7 commits into
Open
GoodDayForSurf wants to merge 7 commits into
GoodDayForSurf wants to merge 7 commits into
Conversation
GoodDayForSurf
marked this pull request as ready for review
November 24, 2026 13:51
Contributor
There was a problem hiding this comment.
🟢 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
Signed-off-by: Aliullov Vlad <91639107+GoodDayForSurf@users.noreply.github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.