-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
When "@angular/core" is updated to "~20.3.0", InjectFlags has been deprecated. I tried commenting out the InjectFlags-related content in angular-three.mjs, and the program ran, but the gizmo no longer appeared in its own view and instead appeared in the main view. What could be causing this.
angular-three.mjs
import { /**InjectFlags,*/ } from '@angular/core';
get(token, notFoundValue, flags /** = InjectFlags.Default */) {
const options = {};
if (typeof flags === 'object') {
Object.assign(options, flags);
}
else {
Object.assign(options, {
optional: !!(flags /** & InjectFlags.Optional*/),
host: !!(flags /** & InjectFlags.Host*/),
self: !!(flags /** & InjectFlags.Self*/),
skipSelf: !!(flags /** & InjectFlags.SkipSelf*/),
});
}
if (token === RendererFactory2) {
return this.ngtEnvInjector.get(token, notFoundValue, options);
}
return this.routeEnvInjector.get(token, notFoundValue, options);
}
Metadata
Metadata
Assignees
Labels
No labels