fix: apply fix from eslint

This commit is contained in:
JellyBrick
2023-09-04 03:50:44 +09:00
parent 68d985acba
commit 72c8c49edf
15 changed files with 25 additions and 8 deletions

View File

@ -3,6 +3,7 @@ import path from 'node:path';
import { BrowserWindow } from 'electron';
import { injectCSS } from '../utils';
import type { ConfigType } from '../../config/dynamic';
export default (win: BrowserWindow, options: ConfigType<'video-toggle'>) => {

View File

@ -2,10 +2,12 @@ import { ElementFromFile, templatePath } from '../utils';
import { setOptions, isEnabled } from '../../config/plugins';
import { moveVolumeHud as preciseVolumeMoveVolumeHud } from '../precise-volume/front';
import type { ConfigType } from '../../config/dynamic';
import { YoutubePlayer } from '../../types/youtube-player';
import { ThumbnailElement } from '../../types/get-player-response';
import type { ConfigType } from '../../config/dynamic';
const moveVolumeHud = isEnabled('precise-volume') ? preciseVolumeMoveVolumeHud : () => {};
function $(selector: string): HTMLElement | null {

View File

@ -1,9 +1,11 @@
import { BrowserWindow } from 'electron';
import { setMenuOptions } from '../../config/plugins';
import type { ConfigType } from '../../config/dynamic';
import { MenuTemplate } from '../../menu';
import type { ConfigType } from '../../config/dynamic';
export default (win: BrowserWindow, options: ConfigType<'video-toggle'>): MenuTemplate => [
{
label: 'Mode',