mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-09-20 02:29:31 +02: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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user