docs(devtools): Removes comment about enum deprecation

Removes comment about enum deprecation

(cherry picked from commit a0fe177682)
This commit is contained in:
SkyZeroZx 2025-10-28 19:48:31 -05:00 committed by Andrew Scott
parent c4742322dc
commit a44083a2b9

View file

@ -354,7 +354,6 @@ const getDependenciesForDirective = (
let flags = dependency.flags as InjectOptions;
let flagToken = '';
if (flags !== undefined) {
// TODO: We need to remove this once the InjectFlags enum is removed from core
if (typeof flags === 'number') {
flags = {
optional: !!(flags & 8),