Skip to content

Commit

Permalink
Updated overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
shibulijack authored and shibulijack committed Jul 30, 2019
1 parent 3d1933b commit 1c999de
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/fb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,9 @@ interface FBResponseObject {
export class Facebook {
constructor(options?: FBOptions);

api(path: string): Promise<any>;

api(path: string, method: string): Promise<any>;

api(path: string, params: any): Promise<any>;

api(path: string, method: string, params: any): Promise<any>;
api(path: string, method?: string, params: any): Promise<any>;

extend(options: FBOptions): Facebook;

Expand All @@ -54,13 +50,9 @@ export class Facebook {

getLoginUrl(options: FBOptions): string;

napi(path: string): void;

napi(path: string, method: string): void;

napi(path: string, params: any): void;

napi(path: string, method: string, params: any): void;
napi(path: string, method?: string, params: any): void;

options(): FBOptions;

Expand Down

0 comments on commit 1c999de

Please sign in to comment.