mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-14 20:01:47 +00:00
fix: apply fix from eslint
This commit is contained in:
@ -14,7 +14,7 @@ import type { SyncedLyricsPluginConfig } from '../types';
|
||||
export let _ytAPI: YoutubePlayer | null = null;
|
||||
export let netFetch: (
|
||||
url: string,
|
||||
init?: RequestInit
|
||||
init?: RequestInit,
|
||||
) => Promise<[number, string, Record<string, string>]>;
|
||||
|
||||
export const renderer = createRenderer<
|
||||
@ -56,7 +56,7 @@ export const renderer = createRenderer<
|
||||
if (!this.updateTimestampInterval) {
|
||||
this.updateTimestampInterval = setInterval(
|
||||
() => setCurrentTime((_ytAPI?.getCurrentTime() ?? 0) * 1000),
|
||||
100
|
||||
100,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user