Skip to content

Commit

Permalink
fix: Type argument is not within its bounds.
Browse files Browse the repository at this point in the history
  • Loading branch information
abubkr-hago committed Aug 17, 2024
1 parent c70eb11 commit 192199e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rxjava/src/main/java/com/parse/rxjava/Extensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import com.parse.boltsinternal.Task
import io.reactivex.rxjava3.core.Completable
import io.reactivex.rxjava3.core.Single

fun <T> Task<T>.toSingle(): Single<T> {
fun <T : Any> Task<T>.toSingle(): Single<T> {
return Single.defer {
this.waitForCompletion()
if (isFaulted) {
Expand Down

0 comments on commit 192199e

Please sign in to comment.