fix(holiday-controller): specify error type in catch block for better type safety
This commit is contained in:
@@ -348,7 +348,7 @@ export default class HolidayController extends WorklenzControllerBase {
|
||||
totalPopulated++;
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
errors.push(`${country.name}: ${error.message}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user