export type selector = ((item: TSrc) => TVal); export type stringSelector = selector; export type numberSelector = selector;