UNPKG

devextreme

Version:

HTML5 JavaScript Component Suite for Responsive Web Development

14 lines (13 loc) 693 B
/** * DevExtreme (renovation/ui/common/event_callback.d.ts) * Version: 21.1.4 * Build date: Mon Jun 21 2021 * * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ // eslint-disable-next-line @typescript-eslint/no-type-alias /** * @deprecated Attention! This type is for internal purposes only. If you used it previously, please describe your scenario in the following GitHub Issue, and we will suggest a public alternative: {@link https://github.com/DevExpress/DevExtreme/issues/17885|Internal Types}. */ export type EventCallback<T = void> = T extends void ? () => void : (value: T) => void;