mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-25 20:23:08 +02:00
fix...
This commit is contained in:
parent
919af7b967
commit
307bc2a38e
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ export class APIClient {
|
|||
this.fetch = opts.fetch ?? ((...args) => fetch(...args));
|
||||
}
|
||||
|
||||
public request<E extends keyof Endpoints, P extends SchemaOrUndefined<D['defines'][number]['req']>, M extends IEndpointMeta = Endpoints[E], R = ResponseOf<M, P>>(
|
||||
public request<E extends keyof Endpoints, P extends SchemaOrUndefined<M['defines'][number]['req']>, M extends IEndpointMeta = Endpoints[E], R = ResponseOf<M, P>>(
|
||||
endpoint: E, params: P, credential?: string | null | undefined,
|
||||
): Promise<R>
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue