Angular @ViewChild() error: Expected 2 arguments, but got 1

Source: https://stackoverflow.com/questions/56704164/angular-viewchild-error-expected-2-arguments-but-got-1

In Angular 8 , ViewChild takes 2 parameters
 @ViewChild(ChildDirective, {static: false}) Component

Không có nhận xét nào:

api feed with published=false?

  Câu trả lời ngắn gọn là: CÓ . Trên thực tế, đây chính là cách chuẩn nhất để tạo các bài viết chưa hiển thị công khai (bao gồm Bản nháp, B...