Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mpreyskurantov committed Aug 30, 2024
1 parent 3272e72 commit 8865f7b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/devextreme/js/events/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ export interface Cancelable {
* @docid
* @public
*/
export interface AsyncCancelable {
export type AsyncCancelable = {
/**
* @docid
* @type boolean|Promise<boolean>
*/
cancel: boolean | PromiseLike<boolean>;
}
};

/** @deprecated EventObject */
export type dxEvent = EventObject;
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/js/ui/menu.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ export type Options<TKey = any> = Properties<TKey>;
// eslint-disable-next-line import/first
import { CheckedEvents } from '../core';

type FilterOutHidden<T> = Omit<T, 'onFocusIn' | 'onFocusOut' | 'onItemDeleted' | 'onItemDeleting' | 'onItemHold' | 'onItemReordered' | 'onSelectionChanging' | 'onSelectionChange'>;
type FilterOutHidden<T> = Omit<T, 'onFocusIn' | 'onFocusOut' | 'onItemDeleted' | 'onItemDeleting' | 'onItemHold' | 'onItemReordered' | 'onSelectionChanging'>;

type EventsIntegrityCheckingHelper = CheckedEvents<FilterOutHidden<Properties>, Required<Events>, 'onSubmenuHidden' | 'onSubmenuHiding' | 'onSubmenuShowing' | 'onSubmenuShown'>;

Expand Down
1 change: 0 additions & 1 deletion packages/devextreme/js/ui/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ export default Toolbar;
* @hidden
*/


/**
* @name dxToolbarOptions.onSelectionChanged
* @action
Expand Down
4 changes: 2 additions & 2 deletions packages/devextreme/ts/dx.all.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6703,12 +6703,12 @@ declare module DevExpress.events {
/**
* [descr:AsyncCancelable]
*/
export interface AsyncCancelable {
export type AsyncCancelable = {
/**
* [descr:AsyncCancelable.cancel]
*/
cancel: boolean | PromiseLike<boolean>;
}
};
/**
* [descr:Cancelable]
*/
Expand Down

0 comments on commit 8865f7b

Please sign in to comment.