constitute icon indicating copy to clipboard operation
constitute copied to clipboard

Minimalistic Dependency Injection (DI) for ES5/ES6/ES7

Results 4 constitute issues
Sort by recently updated
recently updated
newest added

I apologize for my stupid question beforehand. I was trying to mock constitute, using `jest.mock( 'constitute' )` but it seems to throw me an error `TypeError: _dec is not a...

I want to use something like constitute(Person, user_id) for new Person(depA, depB, user_id), is it possible?

Consider the following code example: ``` js class Foo { bar = 'should be overwritten'; } let foo1 = constitute(Foo); let foo2 = constitute(Foo); foo1.bar = 'i have the new...

Hello, I think it would be great to support libraries on the container that don't need to be instantiated and can be referenced by using the library itself. Currently I...