UNPKG

@odata2ts/odata-query-objects

Version:

Q-Objects are the magic sauce for the odata-query-builder and allow for renaming and type conversion

10 lines (9 loc) 409 B
import { IdentityConverter, ParamValueModel } from "@odata2ts/converter-api"; export declare class IdentityConverterImpl<T> implements IdentityConverter<T> { id: string; from: string; to: string; convertFrom(value: ParamValueModel<T>): ParamValueModel<T>; convertTo(value: ParamValueModel<T>): ParamValueModel<T>; } export declare function getIdentityConverter<T>(): IdentityConverter<T>;