fix(holiday-controller): specify error type in catch block for better type safety

This commit is contained in:
chamiakJ
2025-07-28 07:41:29 +05:30
parent d39bddc22f
commit e0f268e4a1

View File

@@ -348,7 +348,7 @@ export default class HolidayController extends WorklenzControllerBase {
totalPopulated++;
}
}
} catch (error) {
} catch (error: any) {
errors.push(`${country.name}: ${error.message}`);
}
}