diff --git a/src/http.ts b/src/http.ts index 8f0b8e0..1db8ed8 100644 --- a/src/http.ts +++ b/src/http.ts @@ -158,7 +158,7 @@ export class LemmyHttp { constructor( baseUrl: string, options?: { - fetchFunction: typeof fetch; + fetchFunction?: typeof fetch; headers?: { [key: string]: string }; } ) {