fix: apply fix from eslint

This commit is contained in:
JellyBrick
2025-09-05 22:43:34 +09:00
parent 23013cddb9
commit 68e63f809c
58 changed files with 137 additions and 116 deletions

View File

@ -1,4 +1,9 @@
import { DataConnection, Peer, PeerError, PeerErrorType } from 'peerjs';
import {
type DataConnection,
Peer,
type PeerError,
PeerErrorType,
} from 'peerjs';
import delay from 'delay';
import type { Permission, Profile, VideoData } from './types';

View File

@ -1,10 +1,9 @@
import prompt from 'custom-electron-prompt';
import { DataConnection } from 'peerjs';
import { t } from '@/i18n';
import { createPlugin } from '@/utils';
import promptOptions from '@/providers/prompt-options';
import { waitForElement } from '@/utils/wait-for-element';
import {
getDefaultProfile,
@ -21,8 +20,7 @@ import { createSettingPopup } from './ui/setting';
import settingHTML from './templates/setting.html?raw';
import style from './style.css?inline';
import { waitForElement } from '@/utils/wait-for-element';
import type { DataConnection } from 'peerjs';
import type { YoutubePlayer } from '@/types/youtube-player';
import type { RendererContext } from '@/types/contexts';
import type { VideoDataChanged } from '@/types/video-data-changed';

View File

@ -1,4 +1,4 @@
import {
import type {
ItemPlaylistPanelVideoRenderer,
PlaylistPanelVideoWrapperRenderer,
QueueItem,