async def clear_type_errors_for_client(self) -> None:
    for path in self.server_state.diagnostics:
        (await _publish_diagnostics(self.client_output_channel, path, []))
    last_update_timer = self.server_state.last_diagnostic_update_timer
    if (last_update_timer is not None):
        _log_lsp_event(self.remote_logging, LSPEvent.COVERED, integers={'duration': int(last_update_timer.stop_in_millisecond())})
        last_update_timer.reset()
async def clear_type_errors_for_client(self) -> None:
    for path in self.server_state.diagnostics:
        (await _publish_diagnostics(self.client_output_channel, path, []))
    last_update_timer = self.server_state.last_diagnostic_update_timer
    if (last_update_timer is not None):
        _log_lsp_event(self.remote_logging, LSPEvent.COVERED, integers={'duration': int(last_update_timer.stop_in_millisecond())})
        last_update_timer.reset()