Angular 8 Decorator de entrada esperaba 2 argumentos, pero obtuvo 1.
@ViewChild(ChildDirective, {static: false}) Component
Restu Wahyu Saputra
@ViewChild(ChildDirective, {static: false}) Component
@ViewChild('nameInput', {static: false}) component : Component