Any idea why I get the error `execute overrides no...
# announcements
g
Any idea why I get the error
execute overrides nothing
with the following?
Copy code
interface UseCase<out Result, in Arguments> where Result : Any {
    suspend fun execute(vararg args: Arguments): Result
}

class TestUseCase : UseCase<Boolean, Boolean> {
    override suspend fun execute(vararg args: Boolean): Boolean {
        return true
    }
}