We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 757692c commit aa905ffCopy full SHA for aa905ff
libs/angular-three/src/lib/di/run-in-context.ts
@@ -4,7 +4,7 @@ export function createRunInContext() {
4
const nodeInjector = inject(Injector);
5
const envInjector = inject(EnvironmentInjector);
6
7
- const originalGet = envInjector.get;
+ const originalGet = envInjector.get.bind(envInjector);
8
9
return <TReturn>(cb: () => TReturn): TReturn => {
10
envInjector.get = (...args: Parameters<EnvironmentInjector['get']>) => {
0 commit comments