mirror of
				https://github.com/Mastermindzh/tidal-hifi.git
				synced 2025-11-04 02:39:13 +01:00 
			
		
		
		
	chore: removed last 'any' types + added declaration for mpris-service's Player class
This commit is contained in:
		@@ -18,7 +18,7 @@ export const startExpress = (mainWindow: BrowserWindow) => {
 | 
			
		||||
   * @param {*} res
 | 
			
		||||
   * @param {*} action
 | 
			
		||||
   */
 | 
			
		||||
  function handleGlobalEvent(res: Response, action: any) {
 | 
			
		||||
  function handleGlobalEvent(res: Response, action: string) {
 | 
			
		||||
    mainWindow.webContents.send("globalEvent", action);
 | 
			
		||||
    res.sendStatus(200);
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
@@ -66,7 +66,7 @@ export const createSettingsWindow = function () {
 | 
			
		||||
    },
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  settingsWindow.on("close", (event: any) => {
 | 
			
		||||
  settingsWindow.on("close", (event: Event) => {
 | 
			
		||||
    if (settingsWindow != null) {
 | 
			
		||||
      event.preventDefault();
 | 
			
		||||
      settingsWindow.hide();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user