diff --git a/packages/frontend/src/scripts/api.ts b/packages/frontend/src/scripts/api.ts
index 82b1ba3cea..f9fd11f069 100644
--- a/packages/frontend/src/scripts/api.ts
+++ b/packages/frontend/src/scripts/api.ts
@@ -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;
-};
+}