File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,9 @@ interface FBResponseObject {
3636export class Facebook {
3737 constructor ( options ?: FBOptions ) ;
3838
39- api ( path : string ) : Promise < any > ;
40-
41- api ( path : string , method : string ) : Promise < any > ;
42-
4339 api ( path : string , params : any ) : Promise < any > ;
4440
45- api ( path : string , method : string , params : any ) : Promise < any > ;
41+ api ( path : string , method ? : string , params : any ) : Promise < any > ;
4642
4743 extend ( options : FBOptions ) : Facebook ;
4844
@@ -54,13 +50,9 @@ export class Facebook {
5450
5551 getLoginUrl ( options : FBOptions ) : string ;
5652
57- napi ( path : string ) : void ;
58-
59- napi ( path : string , method : string ) : void ;
60-
6153 napi ( path : string , params : any ) : void ;
6254
63- napi ( path : string , method : string , params : any ) : void ;
55+ napi ( path : string , method ? : string , params : any ) : void ;
6456
6557 options ( ) : FBOptions ;
6658
You can’t perform that action at this time.
0 commit comments