Open intellild opened 2 years ago
If user pass { useValue: undefined }, isProvider returns false, causing https://github.com/microsoft/tsyringe/blob/f738999f3058b223bdb81dada0164a358db2460e/src/dependency-container.ts#L91 treat the object as a class
Fixed this in tsyringe-neo
If user pass { useValue: undefined }, isProvider returns false, causing https://github.com/microsoft/tsyringe/blob/f738999f3058b223bdb81dada0164a358db2460e/src/dependency-container.ts#L91 treat the object as a class