refactor(core): Removed deprecated DebugNode.inject() (#10751)
BREAKING CHANGE: previously deprecated DebugNode#inject was removed, see deprecation notice for migration instructions.
This commit is contained in:

committed by
vikerman

parent
79afcf0766
commit
a235ae16ed
@ -48,13 +48,6 @@ export class DebugNode {
|
||||
}
|
||||
|
||||
get source(): string { return isPresent(this._debugInfo) ? this._debugInfo.source : null; }
|
||||
|
||||
/**
|
||||
* Use injector.get(token) instead.
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
inject(token: any): any { return this.injector.get(token); }
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user