Closed kaidohallik closed 3 years ago
I would like to remove deprecated functionality from Angular code. As replacing TestBed.get with TestBed.inject was bigger task (without using type casting as unknown workaround) then I create this ticket to track different PR-s:
TestBed.get
TestBed.inject
as unknown
[x] replace TestBed.get with TestBed.inject
[x] replace other deprecated functionality
[ ] apply ESLint rule https://github.com/gund/eslint-plugin-deprecation to avoid further deprecated functionality
As we are hipsters then we should avoid using deprecated functionality.
Starting with PR-s shortly.
Bounty claimed https://opencollective.com/generator-jhipster/expenses/28313
@kaidohallik : approved
Overview of the feature request
I would like to remove deprecated functionality from Angular code. As replacing
TestBed.get
withTestBed.inject
was bigger task (without using type castingas unknown
workaround) then I create this ticket to track different PR-s:[x] replace
TestBed.get
withTestBed.inject
[x] replace other deprecated functionality
[ ]
apply ESLint rule https://github.com/gund/eslint-plugin-deprecation to avoid further deprecated functionalityMotivation for or Use Case
As we are hipsters then we should avoid using deprecated functionality.
Related issues or PR
Starting with PR-s shortly.