import { Required } from "utility-types"; import MultiHandlers from "./multi-handlers"; /** * construct or bind {@link ProxyHandler} for property getter from * list of partial compatible object, making it fully compatible * * value is from the fist compatible object list */ export default class GetListFirst extends MultiHandlers implements Required, 'get'> { /** * mapping for getter handler */ private handler; /** * reset cached mapping */ reset(): void; /** * set handler to other {@link ProxyHandler} * @param handler */ bindTo(handler: ProxyHandler): Required, 'get'>; /** * get the first compatible {@link handlers} property * * @param target * @param property * @param receiver */ get(target: Target, property: PropertyKey, receiver: any): any; }