@odata2ts/odata-query-objects
Version:
Q-Objects are the magic sauce for the odata-query-builder and allow for renaming and type conversion
7 lines (6 loc) • 379 B
TypeScript
import { StringEnumLike, StringEnumMember } from "../../enum/EnumModel";
import { BaseEnumParam } from "./BaseEnumParam";
export declare class QEnumParam<EnumType extends StringEnumLike> extends BaseEnumParam<StringEnumMember<EnumType>> {
protected mapValue(value: string): StringEnumMember<EnumType>;
protected mapValueBack(value: StringEnumMember<EnumType>): string;
}