mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
fix: apply fix from eslint
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
export const waitForElement = <T extends Element>(selector: string): Promise<T> => {
|
||||
export const waitForElement = <T extends Element>(
|
||||
selector: string,
|
||||
): Promise<T> => {
|
||||
return new Promise<T>((resolve) => {
|
||||
const interval = setInterval(() => {
|
||||
const elem = document.querySelector<T>(selector);
|
||||
|
||||
Reference in New Issue
Block a user