@aca-1/a2-composer
Version:
Angular 2 Interface for composer
14 lines (13 loc) • 422 B
TypeScript
export declare class MockRequest {
private method;
private url;
private data;
private options;
private resp_fn;
private response;
private fragments;
constructor(method: string, url: string, data: any, options: any);
map(fn: (response: any) => void): this;
subscribe(data: (value: {}) => void, error: (error: {}) => void, complete: () => void): any;
private getFragments(url);
}