@@ -34,6 +34,35 @@ declare module "superagent" {
34
34
end ( callback : ( err : Error , res : Response ) => void ) : Request ;
35
35
}
36
36
37
- export function agent ( url ?: string , cb ?: ( err : Error , res : Response ) => void ) : Request ;
37
+ export interface Agent {
38
+ }
39
+
40
+ export interface Part {
41
+ }
42
+
43
+ export function agent ( ) : Agent ;
44
+ export function get ( url : string ) : Request ;
45
+ export function post ( url : string ) : Request ;
46
+ export function put ( ) ;
47
+ export function head ( ) ;
48
+ export function del ( ) ;
49
+ export function options ( ) ;
50
+ export function trace ( ) ;
51
+ export function copy ( ) ;
52
+ export function lock ( ) ;
53
+ export function mkcol ( ) ;
54
+ export function move ( ) ;
55
+ export function propfind ( ) ;
56
+ export function proppatch ( ) ;
57
+ export function unlock ( ) ;
58
+ export function report ( ) ;
59
+ export function mkactivity ( ) ;
60
+ export function checkout ( ) ;
61
+ export function merge ( ) ;
62
+ //export function 'm-search'();
63
+ export function notify ( ) ;
64
+ export function subscribe ( ) ;
65
+ export function unsubscribe ( ) ;
66
+ export function patch ( ) ;
38
67
export function ( url ?: string , cb ?: ( err : Error , res : Response ) => void ) : Request ;
39
68
}
0 commit comments