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++;
|
totalPopulated++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error: any) {
|
||||||
errors.push(`${country.name}: ${error.message}`);
|
errors.push(`${country.name}: ${error.message}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user