Skip to content
New issue

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

It.isAnyObject() for objects that only have constructor with arguments #134

Open
ghost opened this issue Nov 18, 2019 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented Nov 18, 2019

It seems that It.isAnyObject() only works for objects that have a way to be constructed without arguments. Is it possible to make it work for constructors that require arguments, too?

I've tried changing the signature of It.isAnyObject() to accept a CtorWithArgs<T> instead and it seemed to work but I'm not sure if that doesn't have side effects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants