Browse Source

The @ViewChild decorator for 'table' uses the definite assignment assertion (!) but doesn't specify the static option

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/24636/head
Fahri Gedik 9 months ago
committed by GitHub
parent
commit
5c00d366f8
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      npm/ng-packs/packages/components/extensible/src/lib/components/extensible-table/extensible-table.component.ts

2
npm/ng-packs/packages/components/extensible/src/lib/components/extensible-table/extensible-table.component.ts

@ -144,7 +144,7 @@ export class ExtensibleTableComponent<R = any> implements OnChanges, AfterViewIn
@ContentChild(ExtensibleTableRowDetailComponent)
rowDetailComponent?: ExtensibleTableRowDetailComponent<R>;
@ViewChild('table') table!: DatatableComponent;
@ViewChild('table', { static: false }) table!: DatatableComponent;
/** Gets the effective row detail template (from component or direct input) */
get effectiveRowDetailTemplate(): TemplateRef<any> | undefined {

Loading…
Cancel
Save