diff --git a/packages/frontend/src/os.ts b/packages/frontend/src/os.ts index a2229ab0b8..c4feccdb56 100644 --- a/packages/frontend/src/os.ts +++ b/packages/frontend/src/os.ts @@ -26,9 +26,9 @@ import { showMovedDialog } from '@/scripts/show-moved-dialog.js'; export const openingWindowsCount = ref(0); -export const apiWithDialog = (( +export const apiWithDialog = (( endpoint: E, - data: Record = {}, + data: P = {} as any, token?: string | null | undefined, ) => { const promise = misskeyApi(endpoint, data, token);