UNPKG

@pnp/odata

Version:

pnp - provides shared odata functionality and base classes

11 lines 563 B
import { IQueryable } from "./queryable.js"; import { IRequestContext } from "./pipeline.js"; export declare type IHybrid<R = any, T = any> = T & { (this: T, ...args: any[]): Promise<R>; }; export declare type IInvoker<R> = (this: IQueryable<any>, ...args: any[]) => Promise<R>; export declare const invokableFactory: <R>(constructor: new (...args: any[]) => any) => (...args: any[]) => R & IInvokable<any>; export interface IInvokable<R = any> { <T = R>(options?: Partial<IRequestContext<T>>): Promise<T>; } //# sourceMappingURL=invokable-binder.d.ts.map