fix(core): add needed closure compiler warning suppression

This commit is contained in:
Alex Eagle 2017-05-15 19:20:40 -07:00 committed by Matias Niemelä
parent b754e600e3
commit e80851d98b
1 changed files with 4 additions and 0 deletions

View File

@ -487,6 +487,10 @@ function checkNoChangesNodeDynamic(view: ViewData, nodeDef: NodeDef, values: any
}
}
/**
* Workaround https://github.com/angular/tsickle/issues/497
* @suppress {misplacedTypeAnnotation}
*/
function checkNoChangesQuery(view: ViewData, nodeDef: NodeDef) {
const queryList = asQueryList(view, nodeDef.index);
if (queryList.dirty) {