refactor(upgrade): ensure compatibility with noImplicitOverride (#42512)

Adds the `override` keyword to the `upgrade` sources to ensure
compatibility with `noImplicitOverride`.

PR Close #42512
This commit is contained in:
Paul Gschwendtner 2021-06-07 21:03:56 +02:00 committed by Andrew Kushnir
parent abc77a6a39
commit 634ba9ccbc
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ class ParentInjectorPromise extends SyncPromise<Injector> {
element.data!(this.injectorKey, this); element.data!(this.injectorKey, this);
} }
resolve(injector: Injector): void { override resolve(injector: Injector): void {
// Store the real injector on the element. // Store the real injector on the element.
this.element.data!(this.injectorKey, injector); this.element.data!(this.injectorKey, injector);