error TS1146: Declaration expected. [ng] 165 @ViewChild(args,{static: false}) private currentDiv : ElementRef; code example
Example: angular viewchild second parameter
@ViewChild(ChildDirective, {static: false}) Component
@ViewChild(ChildDirective, {static: false}) Component