diff --git a/packages/misskey-js/src/api.ts b/packages/misskey-js/src/api.ts index 2d3d5101c3..090f328638 100644 --- a/packages/misskey-js/src/api.ts +++ b/packages/misskey-js/src/api.ts @@ -43,7 +43,7 @@ export class APIClient { } public request, M extends IEndpointMeta = Endpoints[E], R = ResponseOf>( - endpoint: E, params?: P, credential?: string | null | undefined, + endpoint: E, params: P, credential?: string | null | undefined, ): Promise { const promise = new Promise((resolve, reject) => {