Skip to content
Snippets Groups Projects
Commit af80fee8 authored by syuilo's avatar syuilo
Browse files

lint

parent 6b37c092
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ export function api<E extends keyof Endpoints, P extends Endpoints[E]['req']>(en
promise.then(onFinally, onFinally);
return promise;
};
}
// Implements Misskey.api.ApiClient.request
export function apiGet<E extends keyof Endpoints, P extends Endpoints[E]['req']>(endpoint: E, data: P = {} as any): Promise<Endpoints[E]['res']> {
......@@ -76,4 +76,4 @@ export function apiGet<E extends keyof Endpoints, P extends Endpoints[E]['req']>
promise.then(onFinally, onFinally);
return promise;
};
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment