Skip to content

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

@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions