import { IResourceOptions } from '.'; export function makeDataSelectors(options: IResourceOptions) { return { id: (item: T) => item[options.id], }; }