Skip to content

Commit

Permalink
HierarchicalCollectionWidget, DataAdapter, DataConverter: ignore erro…
Browse files Browse the repository at this point in the history
…rs after move to TS
  • Loading branch information
EugeniyKiyashko committed Jun 14, 2024
1 parent 17c22d3 commit 962b9ac
Show file tree
Hide file tree
Showing 10 changed files with 968 additions and 949 deletions.
2 changes: 1 addition & 1 deletion packages/devextreme/js/__internal/ui/collection/edit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ declare class Edit<
TItem extends ItemLike = any,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
TKey = any,
> extends CollectionWidgetBase<TProperties> {
> extends CollectionWidgetBase<TProperties, TItem> {
_processSelectableItem($itemElement: dxElementWrapper, isSelected: boolean): void;
_setAriaSelectionAttribute($itemElement: dxElementWrapper, isSelected: string): void;
_clearSelectedItems(): void;
Expand Down
49 changes: 0 additions & 49 deletions packages/devextreme/js/__internal/ui/collection/hierarchical.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import MenuItem from '@js/ui/collection/item';
import type { dxMenuBaseOptions } from '@js/ui/context_menu/ui.menu_base';
import type { Item } from '@js/ui/menu';
import { render } from '@js/ui/widget/utils.ink_ripple';
import HierarchicalCollectionWidget from '@ts/ui/collection/hierarchical';
import MenuBaseEditStrategy from '@ts/ui/context_menu/m_menu_base.edit.strategy';
import HierarchicalCollectionWidget from '@ts/ui/hierarchical_collection/m_hierarchical_collection_widget';

const DX_MENU_CLASS = 'dx-menu';
const DX_MENU_NO_ICONS_CLASS = `${DX_MENU_CLASS}-no-icons`;
Expand Down Expand Up @@ -170,6 +170,7 @@ class MenuBase extends HierarchicalCollectionWidget<Properties> {
// @ts-expect-error
$container.html(html);
const link = this._getLinkContainer(
// @ts-expect-error
this._getIconContainer(itemData),
this._getTextContainer(itemData),
itemData,
Expand Down
Loading

0 comments on commit 962b9ac

Please sign in to comment.