UNPKG

axios-feign

Version:

open feign of typescript use axios

5 lines (4 loc) 541 B
export declare function get(url: string): (target: object, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; export declare function post(url: string): (target: object, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; export declare function put(url: string): (target: object, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; export declare function del(url: string): (target: object, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;