fix: 🚑 build on Xcode 16.2 (#12981)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Refactor**
* Improved compatibility for chat cell handling, allowing broader
support for different view model types in chat-related features.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Lakr
2025-07-01 21:47:21 +09:00
committed by GitHub
parent 0326da0806
commit 6a04fbe335

View File

@@ -23,7 +23,7 @@ class ChatCellFactory {
static func dequeueCell(
for tableView: UITableView,
at indexPath: IndexPath,
with viewModel: ChatCellViewModel
with viewModel: any ChatCellViewModel
) -> ChatBaseCell {
let identifier = viewModel.cellType.rawValue