Outlook_Addin_LLM/node_modules/@feathersjs/hooks/lib/compose.d.ts

4 lines
293 B
TypeScript
Raw Normal View History

export declare type NextFunction = () => Promise<any>;
export declare type Middleware<T = any> = (context: T, next: NextFunction) => Promise<any>;
export declare function compose<T = any>(middleware: Middleware<T>[]): (this: any, context: T, next?: Middleware<T> | undefined) => Promise<any>;