fix(compiler): remove deprecated Compiler.ngGetContentSelectors()
(#19347)
BREAKING CHANGE: The method `ngGetConentSelectors()`, deprecated in Angular 4.0, has been removed. Use `ComponentFactory.ngContentSelectors` instead.
This commit is contained in:

committed by
Victor Berchet

parent
2cf52c1b55
commit
f57b7df4d7
@ -69,16 +69,6 @@ export class Compiler {
|
||||
throw _throwError();
|
||||
}
|
||||
|
||||
/**
|
||||
* Exposes the CSS-style selectors that have been used in `ngContent` directives within
|
||||
* the template of the given component.
|
||||
* This is used by the `upgrade` library to compile the appropriate transclude content
|
||||
* in the AngularJS wrapper component.
|
||||
*
|
||||
* @deprecated since v4. Use ComponentFactory.ngContentSelectors instead.
|
||||
*/
|
||||
getNgContentSelectors(component: Type<any>): string[] { throw _throwError(); }
|
||||
|
||||
/**
|
||||
* Clears all caches.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user