We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using .get with {noproxy: true} the return type stated as Immutable<S>, however should be just S.
{noproxy: true}
Immutable<S>
S
get(options?: { noproxy?: boolean, stealth?: boolean }): Immutable<S>;
Due to the implementation details, it would be hard to write a conditional type here. Options are:
.getBare
.getSource
options?
The text was updated successfully, but these errors were encountered:
Well, technically it is immutable, because changing it would almost certainly be a bug...
Sorry, something went wrong.
No branches or pull requests
When using .get with
{noproxy: true}
the return type stated asImmutable<S>
, however should be justS
.Due to the implementation details, it would be hard to write a conditional type here. Options are:
.getBare
or.getSource
method or something similar, which would have noproxy behavioroptions?
to positional args with conditional typesThe text was updated successfully, but these errors were encountered: