korimsoft-tyfun
Version:
Korimsoft's TyFun - A library of TypeScript functions, types, helpers, and utilities
5 lines • 318 B
TypeScript
import { ObjectWithId } from '../custom-types';
import { Mapper } from './mapper';
export declare function extractId<Tid>(item: ObjectWithId<Tid>): Tid;
export declare function extractAProperty<TObject, TProperty>(propertyName: keyof TObject): Mapper<TObject, TProperty>;
//# sourceMappingURL=extractAProperty.d.ts.map