fix(portal): correct return type of TemplatePortal.attach (#14602)
fix(portal): correct return type of TemplatePortal.attach (#14602)

Fixes #14584

BREAKING CHANGE
The return type of `TemplatePortal.attach` previously had an incorrect signature:
`TemplatePortal<C>.attach(...): C`. This should actually have been `TemplatePortal<C>.attach(...): EmbeddedViewRef<C>`. The type has been corrected.
josephperrott/material2,angular/components,jelbourn/material2,josephperrott/material2,josephperrott/material2,jelbourn/material2,Jefiozie/material2,angular/components,andrewseguin/material2,DevVersion/material2,Jefiozie/material2,DevVersion/material2,andrewseguin/material2,mmalerba/material2,crisbeto/material2,Jefiozie/material2,angular/components,mmalerba/material2,mmalerba/material2,angular/components,DevVersion/material2,andrewseguin/material2,mmalerba/material2,crisbeto/material2,Jefiozie/material2,josephperrott/material2,DevVersion/material2,Jefiozie/material2,mmalerba/material2,andrewseguin/material2,jelbourn/material2,crisbeto/material2,josephperrott/material2,jelbourn/material2,DevVersion/material2,jelbourn/material2,andrewseguin/material2,crisbeto/material2