diff --git a/shared/domain/src/commonMain/kotlin/com/tweener/changehere/domain/usecase/BaseUseCase.kt b/shared/domain/src/commonMain/kotlin/com/tweener/changehere/domain/usecase/BaseUseCase.kt index 1d60538..10e9586 100644 --- a/shared/domain/src/commonMain/kotlin/com/tweener/changehere/domain/usecase/BaseUseCase.kt +++ b/shared/domain/src/commonMain/kotlin/com/tweener/changehere/domain/usecase/BaseUseCase.kt @@ -21,7 +21,7 @@ abstract class BaseUseCase { * @throws MissingUseCaseInputParamsException */ @OptIn(ExperimentalContracts::class) - suspend inline fun assertInputParamsNotNull(params: InputParams? = null): InputParams { + inline fun assertInputParamsNotNull(params: InputParams? = null): InputParams { contract { returns() implies (params != null) }