UNPKG

lynx-framework

Version:

lynx is a NodeJS framework for Web Development, based on decorators and the async/await support.

9 lines (8 loc) 255 B
export interface APIResponseWrapper { onSuccess(response: any): any; onError(error: Error): any; } export declare class DefaultAPIResponseWrapper implements APIResponseWrapper { onError(error: Error): any; onSuccess(response: any): any; }