ng2-resource-rest
Version:
Angular2 resource module with simple decorators
7 lines (6 loc) • 431 B
TypeScript
import { URLSearchParams } from '@angular/http';
import { ResourceActionBase } from './Interfaces';
import { Resource } from './Resource';
export declare function ResourceAction(methodOptions?: ResourceActionBase): (target: Resource, propertyKey: string) => void;
export declare function setDataToObject(ret: any, resp: any): any;
export declare function appendSearchParams(search: URLSearchParams, key: string, value: any): void;