Skip to content

Commit

Permalink
Merge pull request #61 from pazznetwork/add-extract-parameter
Browse files Browse the repository at this point in the history
add optional parameter argument to extract typing
  • Loading branch information
ndaidong committed May 5, 2020
2 parents 8af096f + 3c71003 commit 3800184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// CodeBast4rd <https://github.com/CodeBast4rd>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export function extract(url: string): Promise<OembedData>;
export function extract(url: string, params?: any): Promise<OembedData>;

export function hasProvider(url: string): boolean;

Expand Down

0 comments on commit 3800184

Please sign in to comment.