mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(devtools): Removes comment about enum deprecation
Removes comment about enum deprecation
(cherry picked from commit a0fe177682)
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user