mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-14 11:51:47 +00:00
fix: apply fix from eslint
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { BrowserWindow, globalShortcut } from 'electron';
|
||||
import { type BrowserWindow, globalShortcut } from 'electron';
|
||||
import is from 'electron-is';
|
||||
import { register as registerElectronLocalShortcut } from 'electron-localshortcut';
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import prompt, { KeybindOptions } from 'custom-electron-prompt';
|
||||
import prompt, { type KeybindOptions } from 'custom-electron-prompt';
|
||||
|
||||
import promptOptions from '@/providers/prompt-options';
|
||||
|
||||
|
||||
2
src/plugins/shortcuts/mpris-service.d.ts
vendored
2
src/plugins/shortcuts/mpris-service.d.ts
vendored
@ -1,7 +1,7 @@
|
||||
declare module '@jellybrick/mpris-service' {
|
||||
import { EventEmitter } from 'events';
|
||||
|
||||
import { interface as dbusInterface } from '@jellybrick/dbus-next';
|
||||
import { type interface as dbusInterface } from '@jellybrick/dbus-next';
|
||||
|
||||
interface RootInterfaceOptions {
|
||||
identity?: string;
|
||||
|
||||
@ -1,17 +1,17 @@
|
||||
import { BrowserWindow, ipcMain } from 'electron';
|
||||
import { type BrowserWindow, ipcMain } from 'electron';
|
||||
|
||||
import MprisPlayer, {
|
||||
LOOP_STATUS_NONE,
|
||||
LOOP_STATUS_PLAYLIST,
|
||||
LOOP_STATUS_TRACK,
|
||||
LoopStatus,
|
||||
type LoopStatus,
|
||||
PLAYBACK_STATUS_PAUSED,
|
||||
PLAYBACK_STATUS_PLAYING,
|
||||
PLAYBACK_STATUS_STOPPED,
|
||||
type PlayBackStatus,
|
||||
type PlayerOptions,
|
||||
type Position,
|
||||
Track,
|
||||
type Track,
|
||||
} from '@jellybrick/mpris-service';
|
||||
|
||||
import registerCallback, {
|
||||
|
||||
Reference in New Issue
Block a user