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

@@ -82,7 +82,7 @@ export function importTimes(data: string, videoDuration: number): SponsorTime[]
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;
for (const matcher of matchers) {
if (!matcher.condition || matcher.condition(value)) {