add missing type and fix typing error, bump to es2022

This commit is contained in:
theofficialomega
2025-06-23 12:47:35 +02:00
parent 36885037f5
commit b5f36296e9
5 changed files with 22 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ async function main() {
totalErrors++
}
if (!langs.where('1', channel.lang)) {
if (!langs.where('1', channel.lang ?? '')) {
errors.push({ type: 'wrong_lang', ...channel })
totalErrors++
}