From 02761dc4ce6980e0d5febad3a0eefedac95ac90a Mon Sep 17 00:00:00 2001 From: zyoshoka <107108195+zyoshoka@users.noreply.github.com> Date: Sat, 12 Oct 2024 23:45:28 +0900 Subject: [PATCH] refactor: optimize import --- packages/backend/test-federation/test/utils.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/backend/test-federation/test/utils.ts b/packages/backend/test-federation/test/utils.ts index 7c0943c26de9..483bf4b254cc 100644 --- a/packages/backend/test-federation/test/utils.ts +++ b/packages/backend/test-federation/test/utils.ts @@ -4,7 +4,6 @@ import { dirname, join } from 'path'; import { fileURLToPath } from 'url'; import * as Misskey from 'misskey-js'; import { WebSocket } from 'ws'; -import { SwitchCaseResponseType } from 'misskey-js/api.types.js'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); @@ -33,7 +32,7 @@ export type Request = < endpoint: E, params: P, credential?: string | null, -) => Promise>; +) => Promise>; type Host = 'a.test' | 'b.test';