fix(injector): untyped constructor parameter should throw proper error

Fixes #41