mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-07 01:50:31 +00:00
Bump typescript, lint, prettier (#10108)
This commit is contained in:
@@ -25,7 +25,7 @@ export default function parseAspectRatio(input: string) {
|
||||
return arr.length === 1
|
||||
? { w: parseOrThrow(arr[0]), h: 1 }
|
||||
: { w: parseOrThrow(arr[0]), h: parseOrThrow(arr[1]) };
|
||||
} catch (err) {
|
||||
} catch (err: any) {
|
||||
// Ignore the error
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user