You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constfooInjector: Injector<{foo: string}>=rootInjector;// ERROR in TS <3.8// OK According to TS >= 3.8fooInjector.resolve('foo');// Breaks at runtime!!
I'll close this issue once it's fixed at TS side.
The text was updated successfully, but these errors were encountered:
Due to microsoft/TypeScript#37400 it is allowed to assign a parent injector to a child injector.
I'll close this issue once it's fixed at TS side.
The text was updated successfully, but these errors were encountered: