File tree 1 file changed +2
-10
lines changed 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,9 @@ interface FBResponseObject {
36
36
export class Facebook {
37
37
constructor ( options ?: FBOptions ) ;
38
38
39
- api ( path : string ) : Promise < any > ;
40
-
41
- api ( path : string , method : string ) : Promise < any > ;
42
-
43
39
api ( path : string , params : any ) : Promise < any > ;
44
40
45
- api ( path : string , method : string , params : any ) : Promise < any > ;
41
+ api ( path : string , method ? : string , params : any ) : Promise < any > ;
46
42
47
43
extend ( options : FBOptions ) : Facebook ;
48
44
@@ -54,13 +50,9 @@ export class Facebook {
54
50
55
51
getLoginUrl ( options : FBOptions ) : string ;
56
52
57
- napi ( path : string ) : void ;
58
-
59
- napi ( path : string , method : string ) : void ;
60
-
61
53
napi ( path : string , params : any ) : void ;
62
54
63
- napi ( path : string , method : string , params : any ) : void ;
55
+ napi ( path : string , method ? : string , params : any ) : void ;
64
56
65
57
options ( ) : FBOptions ;
66
58
You can’t perform that action at this time.
0 commit comments