Bump typescript, lint, prettier (#10108)

This commit is contained in:
Bram Kragten
2021-09-30 12:39:03 +02:00
committed by GitHub
parent ff2bf1f3c1
commit 2936865c55
294 changed files with 1553 additions and 1639 deletions

View File

@@ -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;