mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 10:39:57 +00:00
Enable strict mode for extension build
This commit is contained in:
@@ -11,7 +11,7 @@ const UA_CHROME_LEGACY = "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.288
|
||||
const UA_SAFARI = "AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15";
|
||||
|
||||
|
||||
function getPlatformComponent (platform: string): string {
|
||||
function getPlatformComponent (platform: string): string | undefined {
|
||||
switch (platform) {
|
||||
case "mac": return PLATFORM_MAC; break;
|
||||
case "win": return PLATFORM_WIN; break;
|
||||
|
||||
Reference in New Issue
Block a user