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