add missing type and fix typing error, bump to es2022

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

No files matched your search

+1 -1
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++
}