UNPKG

jslib-nightly

Version:

SheerID JavaScript Library

6 lines (5 loc) 331 B
import { FormSelectChoice } from '../../types/types'; declare type compareLabelReturn = 1 | -1; export declare const compareLabel: (a: FormSelectChoice<any>, b: FormSelectChoice<any>) => compareLabelReturn; export declare const SortByLabel: (choices: FormSelectChoice<any, string>[]) => FormSelectChoice<any, string>[]; export {};