Closed ch1ller0 closed 2 years ago
I'm submitting a ... [x] bug report [ ] feature request [ ] question about the decisions made in the repository [ ] question about how to use this project
Summary There is a type problem, if you declare a provider
injectable({ provide: ROOT_TOKEN, useFactory: (something) => {}, });
without inject field the inferred type of something casts to any. It should bee at least unknown or undefined
inject
something
any
unknown
undefined
Fixed by accidential push to main
main
I'm submitting a ... [x] bug report [ ] feature request [ ] question about the decisions made in the repository [ ] question about how to use this project
Summary There is a type problem, if you declare a provider
without
inject
field the inferred type ofsomething
casts toany
. It should bee at leastunknown
orundefined