You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature request
Export the type MockServerClient through the main type file.
What you are trying to do
I'm writing test files in which I initialize a mockserver client in a before hook, like the following.
// The type `MockServerClient` is not exported by `mockserver-client`import{mockServerClient,MockServerClient}from"mockserver-client"letclient!: MockServerClientbefore(()=>client=mockServerClient("localhost",1080))
The solution you'd like
I would like the MockServerClient type to be exported by index.d.ts, so the precedent example can compile.
Describe alternatives you've considered
MockServerClient is currently available by importing "mockserver-client/mockServerClient" like the following:
Describe the feature request
Export the type
MockServerClient
through the main type file.What you are trying to do
I'm writing test files in which I initialize a mockserver client in a
before
hook, like the following.The solution you'd like
I would like the
MockServerClient
type to be exported by index.d.ts, so the precedent example can compile.Describe alternatives you've considered
MockServerClient
is currently available by importing"mockserver-client/mockServerClient"
like the following:I'm using the version
5.15.0
.The text was updated successfully, but these errors were encountered: