devextreme
Version:
HTML5 JavaScript Component Suite for Responsive Web Development
27 lines (24 loc) • 1.26 kB
TypeScript
/**
* DevExtreme (data/data.types.d.ts)
* Version: 24.2.6
* Build date: Mon Mar 17 2025
*
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
/**
* @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution.
*/
export type KeySelector<T> = string | ((source: T) => string | number | Date | Object);
/**
* @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution.
*/
export type SelectionDescriptor<T> = {
selector: KeySelector<T>;
};
/**
* @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution.
*/
export type OrderingDescriptor<T> = SelectionDescriptor<T> & {
desc?: boolean;
};