fix(core): proper @internal and @nocollapse combined usage fix (#28138)

This update fixes the way the @internal and @nocollapse annotations are used together, which produced errors while running it with Closure compiler. Now two annotations are a part of the same comment block.

PR Close #28138
This commit is contained in:
Andrew Kushnir
2019-01-14 12:44:06 -08:00
parent d12db4e114
commit f1fb62d1e5
5 changed files with 20 additions and 10 deletions

View File

@ -50,8 +50,10 @@ export class ElementRef<T = any> {
constructor(nativeElement: T) { this.nativeElement = nativeElement; }
/** @internal */
/** @nocollapse */
/**
* @internal
* @nocollapse
*/
static __NG_ELEMENT_ID__: () => ElementRef = () => SWITCH_ELEMENT_REF_FACTORY(ElementRef);
}