1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-26 22:56:23 -04:00

Convert Filter components to TypeScript

This commit is contained in:
Mark McDowall
2024-12-21 16:28:05 -08:00
parent e4f1b2c4ec
commit 3cd8a2a98b
55 changed files with 1644 additions and 1840 deletions
@@ -1,4 +1,8 @@
function convertToBytes(input: number, power: number, binaryPrefix: boolean) {
function convertToBytes(
input: number | string,
power: number,
binaryPrefix: boolean
) {
const size = Number(input);
if (isNaN(size)) {