Skip to content

Commit

Permalink
refactor: optimize import
Browse files Browse the repository at this point in the history
  • Loading branch information
zyoshoka committed Oct 12, 2024
1 parent f2226d8 commit 02761dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/backend/test-federation/test/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -33,7 +32,7 @@ export type Request = <
endpoint: E,
params: P,
credential?: string | null,
) => Promise<SwitchCaseResponseType<E, P>>;
) => Promise<Misskey.api.SwitchCaseResponseType<E, P>>;

type Host = 'a.test' | 'b.test';

Expand Down

0 comments on commit 02761dc

Please sign in to comment.