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

@ -107,8 +107,10 @@ export abstract class ChangeDetectorRef {
*/
abstract reattach(): void;
/** @internal */
/** @nocollapse */
/**
* @internal
* @nocollapse
*/
static __NG_ELEMENT_ID__: () => ChangeDetectorRef = () => SWITCH_CHANGE_DETECTOR_REF_FACTORY();
}