Skip to content

Commit cec056b

Browse files
committed
chore: fix lint
1 parent 82d5001 commit cec056b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/utorrent.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,23 @@ import { URLSearchParams } from 'url';
33

44
import { File, FormData } from 'formdata-node';
55
import { fileFromPathSync } from 'formdata-node/file-from-path';
6-
import got, { OptionsOfTextResponseBody, Response } from 'got';
6+
import type { OptionsOfTextResponseBody, Response } from 'got';
7+
import got from 'got';
78
import { Cookie } from 'tough-cookie';
89

910
import { magnetDecode } from '@ctrl/magnet-link';
10-
import {
11+
import type {
1112
AddTorrentOptions as NormalizedAddTorrentOptions,
1213
AllClientData,
1314
NormalizedTorrent,
1415
TorrentClient,
1516
TorrentSettings,
16-
TorrentState,
1717
} from '@ctrl/shared-torrent';
18+
import { TorrentState } from '@ctrl/shared-torrent';
1819
import { hash } from '@ctrl/torrent-file';
1920
import { urlJoin } from '@ctrl/url-join';
2021

21-
import {
22+
import type {
2223
BaseResponse,
2324
RssUpdateResponse,
2425
SettingsResponse,

0 commit comments

Comments
 (0)