diff --git a/packages/misskey-js/src/api.ts b/packages/misskey-js/src/api.ts index 090f328638..9ccd983961 100644 --- a/packages/misskey-js/src/api.ts +++ b/packages/misskey-js/src/api.ts @@ -42,7 +42,7 @@ export class APIClient { this.fetch = opts.fetch ?? ((...args) => fetch(...args)); } - public request, M extends IEndpointMeta = Endpoints[E], R = ResponseOf>( + public request, M extends IEndpointMeta = Endpoints[E], R = ResponseOf>( endpoint: E, params: P, credential?: string | null | undefined, ): Promise {