Skip to content

Commit 192199e

Browse files
committed
fix: Type argument is not within its bounds.
1 parent c70eb11 commit 192199e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rxjava/src/main/java/com/parse/rxjava/Extensions.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import com.parse.boltsinternal.Task
77
import io.reactivex.rxjava3.core.Completable
88
import io.reactivex.rxjava3.core.Single
99

10-
fun <T> Task<T>.toSingle(): Single<T> {
10+
fun <T : Any> Task<T>.toSingle(): Single<T> {
1111
return Single.defer {
1212
this.waitForCompletion()
1313
if (isFaulted) {

0 commit comments

Comments
 (0)