mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-25 22:01:12 +00:00
Make fetch function optional (#148)
This commit is contained in:
parent
ad1d89ed20
commit
f577df0a07
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ export class LemmyHttp {
|
|||
constructor(
|
||||
baseUrl: string,
|
||||
options?: {
|
||||
fetchFunction: typeof fetch;
|
||||
fetchFunction?: typeof fetch;
|
||||
headers?: { [key: string]: string };
|
||||
}
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue