@@ -7,7 +7,7 @@ package object pokeapi:
7
7
trait ZIOSuite extends munit.FunSuite :
8
8
import zio .{ Runtime , Unsafe , ZIO }
9
9
10
- val client : ZIO [Any , Throwable , PokeApiClient [[A ] =>> zio. ZIO [Any , Throwable , A ], ? ]]
10
+ val client : ZIO [Any , Throwable , PokeApiClient [[A ] =>> ZIO [Any , Throwable , A ]]]
11
11
12
12
def spec [T ](label : String , request : PokeRequest [T ], f : T => Boolean )(using
13
13
JsonDecoder [T ]
@@ -23,7 +23,7 @@ package object pokeapi:
23
23
import cats .effect .IO
24
24
import cats .effect .unsafe .implicits .global
25
25
26
- val client : IO [PokeApiClient [IO , Any ]]
26
+ val client : IO [PokeApiClient [IO ]]
27
27
28
28
def spec [T ](label : String , request : PokeRequest [T ], f : T => Boolean )(using
29
29
JsonDecoder [T ]
@@ -35,7 +35,7 @@ package object pokeapi:
35
35
trait TrySuite extends munit.FunSuite :
36
36
import scala .util .{ Failure , Success , Try }
37
37
38
- val client : PokeApiClient [Try , Any ]
38
+ val client : PokeApiClient [Try ]
39
39
40
40
def spec [T ](label : String , request : PokeRequest [T ], f : T => Boolean )(using
41
41
JsonDecoder [T ]
@@ -51,7 +51,7 @@ package object pokeapi:
51
51
import scala .concurrent .Future
52
52
import scala .util .{ Failure , Success }
53
53
54
- val client : PokeApiClient [Future , Any ]
54
+ val client : PokeApiClient [Future ]
55
55
56
56
def spec [T ](label : String , request : PokeRequest [T ], f : T => Boolean )(using
57
57
JsonDecoder [T ]
@@ -66,10 +66,8 @@ package object pokeapi:
66
66
import cats .effect .IO
67
67
import cats .effect .kernel .Resource
68
68
import cats .effect .unsafe .implicits .global
69
- import sttp .capabilities .WebSockets
70
- import sttp .capabilities .fs2 .Fs2Streams
71
69
72
- val client : Resource [IO , PokeApiClient [IO , Fs2Streams [cats.effect. IO ] & WebSockets ]]
70
+ val client : Resource [IO , PokeApiClient [IO ]]
73
71
74
72
def spec [T ](label : String , request : PokeRequest [T ], f : T => Boolean )(using
75
73
JsonDecoder [T ]
0 commit comments