This commit is contained in:
tamaina 2023-05-21 15:01:06 +00:00
parent 359f0b21b0
commit 919af7b967

View file

@ -43,7 +43,7 @@ export class APIClient {
}
public request<E extends keyof Endpoints, P extends SchemaOrUndefined<D['defines'][number]['req']>, M extends IEndpointMeta = Endpoints[E], R = ResponseOf<M, P>>(
endpoint: E, params?: P, credential?: string | null | undefined,
endpoint: E, params: P, credential?: string | null | undefined,
): Promise<R>
{
const promise = new Promise((resolve, reject) => {