Skip to content

Commit

Permalink
Update type def
Browse files Browse the repository at this point in the history
  • Loading branch information
ndaidong committed Jul 8, 2023
1 parent 561fd03 commit e643c18
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@ export interface FetchOptions {
* default: null
*/
agent?: object;
/**
* signal to terminate request
* default: null
*/
signal?: object;
}

export function extract(url: string, params?: Params, fetchOptions?: FetchOptions): Promise<OembedData>;
Expand Down

0 comments on commit e643c18

Please sign in to comment.