UI Console Errors and Git Errors Fixes, + recommendations
Converted several variables to constants and removed unused function parameters in the AboutDialog component, addressing lint warnings Introduced strict JSON interfaces in AlsaDeviceInfo to replace untyped “any” parameters and ensured returned arrays use constants Simplified styling callbacks and defined props more strictly in App, while using constants for URL parsing Updated the WithStyles helper to accept unknown argument lists and return types rather than “any” Added a workflow step so CI runs npm run lint -- --fix inside the vite directory Testing
This commit is contained in:
@@ -54,12 +54,13 @@ export class FakeAndroidHost implements AndroidHostInterface
|
||||
return true;
|
||||
}
|
||||
setDisconnected(_isDisconnected: boolean): void {
|
||||
|
||||
void _isDisconnected;
|
||||
}
|
||||
showSponsorship() : void { }
|
||||
|
||||
launchExternalUrl(_url:string): boolean
|
||||
{
|
||||
void _url;
|
||||
return false;
|
||||
}
|
||||
private theme = 1;
|
||||
@@ -71,6 +72,7 @@ export class FakeAndroidHost implements AndroidHostInterface
|
||||
}
|
||||
setServerVersion(_serverVersion: string): void {
|
||||
// No-op for fake host
|
||||
void _serverVersion;
|
||||
}
|
||||
|
||||
private keepScreenOn = false;
|
||||
|
||||
Reference in New Issue
Block a user