Fix warnings

This commit is contained in:
Ajay
2023-01-21 16:20:18 -05:00
parent 8383699a68
commit 35e0f7ede9
2 changed files with 2 additions and 1 deletions

View File

@@ -585,6 +585,7 @@ input::-webkit-inner-spin-button {
font-size: 14px; font-size: 14px;
-moz-appearance: textfield; -moz-appearance: textfield;
appearance: textfield;
} }
.sponsorTimeEditInput { .sponsorTimeEditInput {

View File

@@ -82,7 +82,7 @@ export function importTimes(data: string, videoDuration: number): SponsorTime[]
return result; return result;
} }
function removeIf(value: string, matchers: Array<{ matcher: RegExp, condition?: (value: string) => boolean }>): string { function removeIf(value: string, matchers: Array<{ matcher: RegExp; condition?: (value: string) => boolean }>): string {
let result = value; let result = value;
for (const matcher of matchers) { for (const matcher of matchers) {
if (!matcher.condition || matcher.condition(value)) { if (!matcher.condition || matcher.condition(value)) {